Peano
Loading...
Searching...
No Matches
peano4.api.toolbox.FineGridSelector.FineGridSelector Class Reference

Select the fine grid entities. More...

Inheritance diagram for peano4.api.toolbox.FineGridSelector.FineGridSelector:
Collaboration diagram for peano4.api.toolbox.FineGridSelector.FineGridSelector:

Public Member Functions

str createVertexGuard (self)
 C++ boolean expression over a peano4::datamanagement::VertexMarker called marker.
 
str createFaceGuard (self)
 C++ boolean expression over a peano4::datamanagement::FaceMarker 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 whether a vertex's data is stored at the end of a mesh sweep.
 
str createFaceStoreGuard (self)
 Counterpart of createVertexStoreGuard() for faces.
 
str createCellStoreGuard (self)
 Counterpart of createVertexStoreGuard() for cells.
 

Detailed Description

Select the fine grid entities.

Each guard holds for a vertex, face or cell which has not been refined in the mesh sweep before, i.e. which has not been refined when the current mesh traversal has kicked off. Consult hasBeenRefined() of the corresponding marker for details.

The store guards anticipate the refinement state of the next mesh sweep, i.e. they hold for entities which will not be refined at the end of the current sweep (willBeRefined()). If the mesh changes, the data of an entity which is refined in this sweep is hence not stored, as the next sweep will not load it. This keeps the stores and loads of dynamically adaptive meshes consistent.

Definition at line 6 of file FineGridSelector.py.

Member Function Documentation

◆ createCellGuard()

str peano4.api.toolbox.FineGridSelector.FineGridSelector.createCellGuard (   self)

C++ boolean expression over a peano4::datamanagement::CellMarker called marker.

Reimplemented from peano4.api.toolbox.GridSelector.GridSelector.

Definition at line 31 of file FineGridSelector.py.

Referenced by peano4.api.toolbox.GridSelector.GridSelector.createCellStoreGuard().

Here is the caller graph for this function:

◆ createCellStoreGuard()

str peano4.api.toolbox.FineGridSelector.FineGridSelector.createCellStoreGuard (   self)

Counterpart of createVertexStoreGuard() for cells.

Reimplemented from peano4.api.toolbox.GridSelector.GridSelector.

Definition at line 40 of file FineGridSelector.py.

◆ createFaceGuard()

str peano4.api.toolbox.FineGridSelector.FineGridSelector.createFaceGuard (   self)

C++ boolean expression over a peano4::datamanagement::FaceMarker called marker.

Reimplemented from peano4.api.toolbox.GridSelector.GridSelector.

Definition at line 28 of file FineGridSelector.py.

Referenced by peano4.api.toolbox.GridSelector.GridSelector.createFaceStoreGuard().

Here is the caller graph for this function:

◆ createFaceStoreGuard()

str peano4.api.toolbox.FineGridSelector.FineGridSelector.createFaceStoreGuard (   self)

Counterpart of createVertexStoreGuard() for faces.

Reimplemented from peano4.api.toolbox.GridSelector.GridSelector.

Definition at line 37 of file FineGridSelector.py.

◆ createVertexGuard()

str peano4.api.toolbox.FineGridSelector.FineGridSelector.createVertexGuard (   self)

C++ boolean expression over a peano4::datamanagement::VertexMarker called marker.

Reimplemented from peano4.api.toolbox.GridSelector.GridSelector.

Definition at line 25 of file FineGridSelector.py.

◆ createVertexStoreGuard()

str peano4.api.toolbox.FineGridSelector.FineGridSelector.createVertexStoreGuard (   self)

C++ boolean expression over a peano4::datamanagement::VertexMarker called marker which decides whether a vertex's data is stored at the end of a mesh sweep.

Peano's stacks require that data stored in one mesh sweep are loaded in the next one. The load is guarded by createVertexGuard(). If this guard depends on the refinement state, the store therefore has to anticipate the state of the next sweep. By default, we use createVertexGuard(), which is correct for selectors that do not depend on the refinement state.

Reimplemented from peano4.api.toolbox.GridSelector.GridSelector.

Definition at line 34 of file FineGridSelector.py.


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