radiation_configure_spectral Subroutine

public subroutine radiation_configure_spectral(rad, n_wavenumbers)

Configure spectral radiation decomposition.

This is intentionally a thin alias over radiation_task_bounds: flow MPI remains spatial, while radiation MPI owns contiguous spectral/wavenumber tasks. Radiation kernels are expected to loop over their owned wavenumbers and the full replicated mesh.

Arguments

Type IntentOptional Attributes Name
type(radiation_mpi_t), intent(inout) :: rad
integer, intent(in) :: n_wavenumbers

Source Code

   subroutine radiation_configure_spectral(rad, n_wavenumbers)
      type(radiation_mpi_t), intent(inout) :: rad
      integer, intent(in) :: n_wavenumbers

      call radiation_task_bounds(rad, n_wavenumbers)
   end subroutine radiation_configure_spectral