atl_init_faceStateBuffer Subroutine

public subroutine atl_init_faceStateBuffer(nFaceDofs, faces, nValsState, nValsFlux, boundary, commPattern, initRealBuf)

... cell states

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: nFaceDofs

The number of degrees of freedoms per scalar variable per face.

type(tem_face_type), intent(inout) :: faces

list of cubic meshes you want to build the buffers for.

integer, intent(in) :: nValsState

the number of scalar values on the face for the state

integer, intent(in) :: nValsFlux

the number of scalar values on the face for the flux

type(atl_level_boundary_type), intent(in) :: boundary

The boundary description for the faces on the current level.

type(tem_commPattern_type), intent(in) :: commPattern

mpi communication pattern type

logical, optional :: initRealBuf

Init real buffer (default), if not the integer buffer is initialized.


Calls

proc~~atl_init_facestatebuffer~~CallsGraph proc~atl_init_facestatebuffer atl_init_faceStateBuffer none~allocate_comm_buffer allocate_comm_buffer proc~atl_init_facestatebuffer->none~allocate_comm_buffer

Called by

proc~~atl_init_facestatebuffer~~CalledByGraph proc~atl_init_facestatebuffer atl_init_faceStateBuffer proc~atl_init_materialparams atl_init_materialParams proc~atl_init_materialparams->proc~atl_init_facestatebuffer proc~atl_init_parallel_module atl_init_parallel_module proc~atl_init_parallel_module->proc~atl_init_facestatebuffer proc~atl_init_modg_2d_kernel atl_init_modg_2d_kernel proc~atl_init_modg_2d_kernel->proc~atl_init_parallel_module proc~atl_initialize atl_initialize proc~atl_initialize->proc~atl_init_materialparams proc~atl_init_modg_kernel atl_init_modg_kernel proc~atl_init_modg_kernel->proc~atl_init_parallel_module proc~atl_init_modg_1d_kernel atl_init_modg_1d_kernel proc~atl_init_modg_1d_kernel->proc~atl_init_parallel_module proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~atl_initialize program~atl_harvesting atl_harvesting program~atl_harvesting->proc~atl_initialize proc~init_kernel init_kernel proc~init_kernel->proc~atl_init_modg_2d_kernel proc~init_kernel->proc~atl_init_modg_kernel proc~init_kernel->proc~atl_init_modg_1d_kernel proc~atl_init_elem_container atl_init_elem_container proc~atl_init_elem_container->proc~init_kernel program~ateles ateles program~ateles->proc~atl_initialize_program

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iDir
integer, private :: iFace
integer, private :: maxBufSizeState
integer, private :: maxBufSizeFlux
integer, private :: nTotalFaces
integer, private :: iProc
integer, private :: elemPosSize
integer, private :: iElem
integer, private :: iVar
integer, private :: iDof
integer, private :: nDofs
integer, private :: posIndex
integer, private :: maxvalrecvState
integer, private :: maxvalsendState
integer, private :: maxvalrecvFlux
integer, private :: maxvalsendFlux
integer, private, allocatable:: bufEIDState(:)
integer, private, allocatable:: bufEIDFlux(:)
logical, private :: realBuf

Subroutines

subroutine allocate_comm_buffer(comm_type, isReal, maxSize)

Arguments

TypeIntentOptionalAttributesName
type(tem_communication_type), intent(inout) :: comm_type
logical, intent(in) :: isReal
integer, intent(out) :: maxSize