mus_init_gradData Subroutine

public subroutine mus_init_gradData(me, neigh, levelDesc, stencil, nSize, nSolve, nScalars)

This routine initialize gradData with direct neighbors in state and finite difference coefficients.

Arguments

TypeIntentOptionalAttributesName
type(mus_gradData_type), intent(out) :: me

Gradient type

integer, intent(in) :: neigh(:)

neighbor connectivity array

type(tem_levelDesc_type), intent(in) :: levelDesc

levelDesc to access communication buffers of state array

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

stencil header

integer, intent(in) :: nSize

Number of elements in state array

integer, intent(in) :: nSolve

Number of elements solved in compute kernel i.e. excluding halos

integer, intent(in) :: nScalars

number of scalars in state array


Called by

proc~~mus_init_graddata~~CalledByGraph proc~mus_init_graddata mus_init_gradData proc~mus_init_aux mus_init_aux proc~mus_init_aux->proc~mus_init_graddata proc~mus_hvs_init_aux mus_hvs_init_aux proc~mus_hvs_init_aux->proc~mus_init_graddata proc~mus_reset_aux mus_reset_aux proc~mus_reset_aux->proc~mus_init_graddata 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 program~mus_harvesting mus_harvesting program~mus_harvesting->proc~mus_hvs_init_aux program~musubi musubi program~musubi->proc~mus_initialize none~do_balance do_balance none~do_balance->proc~mus_perform_dynloadbal proc~mus_solve mus_solve proc~mus_solve->none~do_balance

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nDims
integer, private :: iElem
integer, private :: iDir
integer, private :: iFace
integer, private :: iMeshDir
integer, private :: nFaces
real(kind=rk), private :: coeffForGrad
integer, private :: nghElem