mus_init_sourceTerms Subroutine

public subroutine mus_init_sourceTerms(field, nFields, globSrc, varSys, tree, nElems_solve, levelDesc)

This routine does set_params and setupIndices for all sources terms by gathering points to apply souce term before.

Arguments

TypeIntentOptionalAttributesName
type(mus_field_type), intent(inout) :: field(:)

contains sources of all fields

integer, intent(in) :: nFields

Number of fields

type(mus_source_type), intent(inout) :: globSrc

global source

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

global variable system

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

global treelm mesh

integer, intent(in) :: nElems_solve(tree%global%minLevel:)

Number of elements to solve in all levels nFluids + nGhostFromCoarser

type(tem_levelDesc_type), intent(in) :: levelDesc(tree%global%minLevel:)

Level descriptors


Calls

proc~~mus_init_sourceterms~~CallsGraph proc~mus_init_sourceterms mus_init_sourceTerms proc~mus_setupindices_forsrc mus_setupIndices_forSrc proc~mus_init_sourceterms->proc~mus_setupindices_forsrc proc~tem_horizontalspacer tem_horizontalSpacer proc~mus_init_sourceterms->proc~tem_horizontalspacer 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 proc~mus_init_hrrcorrection mus_init_hrrCorrection proc~mus_setupindices_forsrc->proc~mus_init_hrrcorrection proc~tem_create_subtree_of tem_create_subTree_of proc~mus_init_turbchanforce->proc~tem_create_subtree_of mpi_allreduce mpi_allreduce proc~mus_init_turbchanforce->mpi_allreduce

Called by

proc~~mus_init_sourceterms~~CalledByGraph proc~mus_init_sourceterms mus_init_sourceTerms proc~mus_reset_aux mus_reset_aux proc~mus_reset_aux->proc~mus_init_sourceterms proc~mus_init_aux mus_init_aux proc~mus_init_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 none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal program~musubi musubi program~musubi->proc~mus_initialize proc~mus_solve mus_solve proc~mus_solve->none~do_balance

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iLevel
integer, private :: iField
integer, private :: iSrc
integer, private :: nSolve
integer, private :: minLevel
integer, private :: maxLevel