mus_setupIndices_forSrc Subroutine

private subroutine mus_setupIndices_forSrc(source, varSys, nSolve, bary, iLevel, tree, bc_prop, 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

real(kind=rk), intent(in) :: bary(:,:)

Space coordinates to apply source terms

integer, intent(in) :: iLevel

Current level

type(treelmesh_type), intent(in) :: tree

global treelm mesh

type(tem_BC_prop_type), intent(in) :: bc_prop

bc property which is used to identify elements belong to certain BCs

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

stencil used to find bcID on certain links


Calls

proc~~mus_setupindices_forsrc~~CallsGraph proc~mus_setupindices_forsrc mus_setupIndices_forSrc proc~mus_init_absorblayer mus_init_absorbLayer proc~mus_setupindices_forsrc->proc~mus_init_absorblayer proc~mus_init_turbchanforce mus_init_turbChanForce proc~mus_setupindices_forsrc->proc~mus_init_turbchanforce set_params set_params proc~mus_setupindices_forsrc->set_params setup_indices setup_indices proc~mus_setupindices_forsrc->setup_indices val val proc~mus_setupindices_forsrc->val mpi_allreduce mpi_allreduce proc~mus_init_turbchanforce->mpi_allreduce tem_create_subTree_of tem_create_subTree_of proc~mus_init_turbchanforce->tem_create_subTree_of

Called by

proc~~mus_setupindices_forsrc~~CalledByGraph proc~mus_setupindices_forsrc mus_setupIndices_forSrc proc~mus_init_sourceterms mus_init_sourceTerms proc~mus_init_sourceterms->proc~mus_setupindices_forsrc proc~mus_init_aux mus_init_aux proc~mus_init_aux->proc~mus_init_sourceterms proc~mus_reset_aux mus_reset_aux proc~mus_reset_aux->proc~mus_init_sourceterms proc~mus_initialize mus_initialize proc~mus_initialize->proc~mus_init_aux proc~mus_perform_dynloadbal mus_perform_dynLoadBal proc~mus_perform_dynloadbal->proc~mus_reset_aux proc~mus_solve mus_solve proc~mus_solve->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize