Project coarse parent element to its 8 finer child elements by a simple L2 projection.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iElem | ||||
integer, | private | :: | childPos | ||||
integer, | private | :: | childNum | ||||
integer, | private | :: | parentPos | ||||
integer, | private | :: | ii | ||||
integer, | private | :: | totpos | ||||
integer, | private | :: | iRefineX | ||||
integer, | private | :: | iRefineY | ||||
integer, | private | :: | iRefineZ | ||||
integer, | private | :: | nDofsCoarse | ||||
integer, | private | :: | nDofsFine | ||||
integer, | private | :: | nDofsInter_firstRefine | ||||
integer, | private | :: | nDofsInter_secondRefine | ||||
integer, | private | :: | nFluids | ||||
real(kind=rk), | private, | allocatable | :: | faceDat(:,:) | |||
real(kind=rk), | private, | allocatable | :: | firstRefine(:,:) | |||
real(kind=rk), | private, | allocatable | :: | secondRefine(:,:) |