Peano
Loading...
Searching...
No Matches
FineGridSelector.py
Go to the documentation of this file.
1# This file is part of the Peano project. For conditions of distribution and
2# use, please see the copyright notice at www.peano-framework.org
3from .GridSelector import GridSelector
4
5
7 """!
8
9 Select the fine grid entities
10
11 Each guard holds for a vertex, face or cell which has not been refined
12 in the mesh sweep before, i.e. which has not been refined when the
13 current mesh traversal has kicked off. Consult hasBeenRefined() of the
14 corresponding marker for details.
15
16 The store guards anticipate the refinement state of the next mesh
17 sweep, i.e. they hold for entities which will not be refined at the end
18 of the current sweep (willBeRefined()). If the mesh changes, the data of
19 an entity which is refined in this sweep is hence not stored, as the
20 next sweep will not load it. This keeps the stores and loads of
21 dynamically adaptive meshes consistent.
22
23 """
24
25 def createVertexGuard(self) -> str:
26 return "not marker.hasBeenRefined()"
27
28 def createFaceGuard(self) -> str:
29 return "not marker.hasBeenRefined()"
30
31 def createCellGuard(self) -> str:
32 return "not marker.hasBeenRefined()"
33
34 def createVertexStoreGuard(self) -> str:
35 return "not marker.willBeRefined()"
36
37 def createFaceStoreGuard(self) -> str:
38 return "not marker.willBeRefined()"
39
40 def createCellStoreGuard(self) -> str:
41 return "not marker.willBeRefined()"
str createVertexGuard(self)
C++ boolean expression over a peano4::datamanagement::VertexMarker called marker.
str createCellGuard(self)
C++ boolean expression over a peano4::datamanagement::CellMarker called marker.
str createVertexStoreGuard(self)
C++ boolean expression over a peano4::datamanagement::VertexMarker called marker which decides whethe...
str createCellStoreGuard(self)
Counterpart of createVertexStoreGuard() for cells.
str createFaceStoreGuard(self)
Counterpart of createVertexStoreGuard() for faces.
str createFaceGuard(self)
C++ boolean expression over a peano4::datamanagement::FaceMarker called marker.
Select a subset of the mesh entities.