|
Peano
|
Project a patch's data onto the overlap held on its surrounding faces, so the halo layers can be reconstructed from it later on, see toolbox.blockstructured.api.ReconstructPatchWithHalo. More...


Public Member Functions | |
| __init__ (self, patch, patch_overlap_update, guard, includes) | |
| get_action_set_name (self) | |
Project a patch's data onto the overlap held on its surrounding faces, so the halo layers can be reconstructed from it later on, see toolbox.blockstructured.api.ReconstructPatchWithHalo.
The fourth-order Finite Differences of exahype2.api.rkfd4 use an overlap of HALO_SIZE grid cells, i.e. each face holds 2*HALO_SIZE layers along its normal. The overlap is taken from the face data, so the action set does not need to know it.
The class does exactly what its base class toolbox.blockstructured.api.ProjectPatchOntoFaces does: copy the patch's boundary layers into the face overlap. It is a copy of exahype2.api.fv.actionsets.ProjectPatchOntoFaces, as rkfd4 does not depend on the Finite Volume package.
Definition at line 6 of file ProjectPatchOntoFaces.py.
| exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__ | ( | self, | |
| patch, | |||
| patch_overlap_update, | |||
| guard, | |||
| includes | |||
| ) |
| patch | peano4.api.datamodel.Patch The cell-associated patch to project onto its surrounding faces, i.e. solver._patch. |
| patch_overlap_update | peano4.api.datamodel.Patch The face-associated overlap patch to project patch's boundary layers into, i.e. solver._patch_overlap_update. |
| guard | str C++ boolean expression, evaluated per cell in touchCellLastTime, guarding whether that cell's patch is projected onto its faces. |
| includes | str Additional includes this action set's generated code needs - callers typically pass solver._get_default_includes() + solver.user_solver_includes. |
Definition at line 26 of file ProjectPatchOntoFaces.py.
References exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__().
Referenced by exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__().


| exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_action_set_name | ( | self | ) |
Definition at line 54 of file ProjectPatchOntoFaces.py.