atl_modg_coarseToFineElem_1d Subroutine

public subroutine atl_modg_coarseToFineElem_1d(minLevel, maxLevel, currentLevel, iDir, mesh, state_stab, scheme, nScalars)

Project coarse parent element to its 8 finer child elements by a simple L2 projection.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: minLevel

The minumum level of the mesh.

integer, intent(in) :: maxLevel

The maximum level of the mesh.

integer, intent(in) :: currentLevel

The current level (i.e. the coarse level).

integer, intent(in) :: iDir

The direction to project

type(atl_cube_elem_type), intent(in) :: mesh(minLevel:maxLevel)

The mesh representation.

type(atl_statedata_type), intent(inout) :: state_stab(minLevel:maxLevel,1:3)

The face representations (finer faces are interpolated from coarser ones).

type(atl_scheme_type), intent(in) :: scheme(minLevel:maxLevel)

The schemes on the different levels.

integer, intent(in) :: nScalars

The number of scalar variables in your equation system.


Calls

proc~~atl_modg_coarsetofineelem_1d~~CallsGraph proc~atl_modg_coarsetofineelem_1d atl_modg_coarseToFineElem_1d proc~modg_semirefineelem_1d modg_semiRefineElem_1d proc~atl_modg_coarsetofineelem_1d->proc~modg_semirefineelem_1d proc~tem_childnumber tem_childNumber proc~atl_modg_coarsetofineelem_1d->proc~tem_childnumber

Called by

proc~~atl_modg_coarsetofineelem_1d~~CalledByGraph proc~atl_modg_coarsetofineelem_1d atl_modg_coarseToFineElem_1d proc~atl_interpolate_elemstate atl_interpolate_elemstate proc~atl_interpolate_elemstate->proc~atl_modg_coarsetofineelem_1d proc~atl_interpolate_elemstate->proc~atl_interpolate_elemstate proc~atl_covolume_tocovolume atl_covolume_tocovolume proc~atl_covolume_tocovolume->proc~atl_interpolate_elemstate proc~atl_covolume_tocovolume_1d atl_covolume_tocovolume_1d proc~atl_covolume_tocovolume_1d->proc~atl_interpolate_elemstate proc~atl_covolume_tocovolume_2d atl_covolume_tocovolume_2d proc~atl_covolume_tocovolume_2d->proc~atl_interpolate_elemstate proc~atl_covolume_1d atl_covolume_1d proc~atl_covolume_1d->proc~atl_covolume_tocovolume_1d proc~atl_covolume_2d atl_covolume_2d proc~atl_covolume_2d->proc~atl_covolume_tocovolume_2d proc~atl_covolume atl_covolume proc~atl_covolume->proc~atl_covolume_tocovolume proc~atl_stabilize atl_stabilize proc~atl_stabilize->proc~atl_covolume_1d proc~atl_stabilize->proc~atl_covolume_2d proc~atl_stabilize->proc~atl_covolume

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iElem
integer, private :: childPos
integer, private :: childNum
integer, private :: parentPos
integer, private :: iRefineX
integer, private :: iRefineY
integer, private :: iRefineZ
integer, private :: nDofsCoarse
integer, private :: nDofsInter_firstRefine
integer, private :: i
integer, private :: iVar
integer, private :: iDof
real(kind=rk), private, allocatable:: faceDat(:,:)
real(kind=rk), private, allocatable:: firstRefine(:,:)