9 Project a Finite Volume patch's data onto the overlap held on its
10 surrounding faces, so the halo layers can be reconstructed from it later
11 on - @see toolbox.blockstructured.api.ReconstructPatchWithHalo.
13 Ported from the legacy python/exahype2/solvers/fv/actionsets/ProjectPatchOntoFaces.py,
14 slimmed down: the legacy version additionally set the isUpdated()/
15 UpdatedTimeStamp() face metadata (read solver._face_label/solver._cell_label)
16 so exahype2.solvers.fv.actionsets.RollOverUpdatedFace knew which half of a
17 face had actually been written. The new exahype2.api's data structures
18 (@see exahype2.api.fv.RusanovWithExplicitEuler) do not create a cell/face
19 label yet, and RollOverUpdatedFace has not been ported either, so this
20 version does purely what the base class
21 toolbox.blockstructured.api.ProjectPatchOntoFaces already does:
22 copy solver._patch's boundary layer into solver._patch_overlap_update.
23 Once cell/face labels exist in the new API, the metadata-update behaviour
24 can be reinstated here.
28 def __init__(self, patch, patch_overlap_update, guard, includes):
31 patch: peano4.api.datamodel.Patch
32 The cell-associated patch to project onto its surrounding faces -
33 @see exahype2.api.fv.RusanovWithExplicitEuler.
35 patch_overlap_update: peano4.api.datamodel.Patch
36 The face-associated overlap patch to project patch's boundary
37 layer into - @see exahype2.api.fv.RusanovWithExplicitEuler.
40 C++ boolean expression, evaluated per cell in touchCellLastTime,
41 guarding whether that cell's patch is projected onto its faces.
44 Additional includes this action set's generated code needs -
45 callers typically pass solver._get_default_includes() +
46 solver.user_solver_includes.
57 return __name__.replace(
".py",
"").replace(
".",
"_")
Project a Finite Volume patch's data onto the overlap held on its surrounding faces,...
get_action_set_name(self)
__init__(self, patch, patch_overlap_update, guard, includes)
patch: peano4.api.datamodel.Patch The cell-associated patch to project onto its surrounding faces -