mus_init_internalSource Subroutine

private subroutine mus_init_internalSource(source, varSys, nSolve, iLevel, stencil)

This routines does setup indices for given source within a field or global. Index are stored for points which source term is active

Arguments

Type IntentOptional Attributes Name
type(mus_source_type), intent(inout) :: source

Source term to fill in

type(tem_varSys_type), intent(in) :: varSys

global variable system

integer, intent(in) :: nSolve

Number of elements to apply source term on this level

integer, intent(in) :: iLevel

Current level

type(tem_stencilHeader_type), intent(in) :: stencil

layout descriptor