Peano
Loading...
Searching...
No Matches
exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces Class Reference

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...

Inheritance diagram for exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces:
Collaboration diagram for exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces:

Public Member Functions

 __init__ (self, patch, patch_overlap_update, guard, includes)
 
 get_action_set_name (self)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__ (   self,
  patch,
  patch_overlap_update,
  guard,
  includes 
)
Parameters
patchpeano4.api.datamodel.Patch The cell-associated patch to project onto its surrounding faces, i.e. solver._patch.
patch_overlap_updatepeano4.api.datamodel.Patch The face-associated overlap patch to project patch's boundary layers into, i.e. solver._patch_overlap_update.
guardstr C++ boolean expression, evaluated per cell in touchCellLastTime, guarding whether that cell's patch is projected onto its faces.
includesstr 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__().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ get_action_set_name()

exahype2.api.rkfd4.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_action_set_name (   self)

Definition at line 54 of file ProjectPatchOntoFaces.py.


The documentation for this class was generated from the following file: