Peano
Loading...
Searching...
No Matches
RefinementControl.cpp File Reference
Include dependency graph for RefinementControl.cpp:

Go to the source code of this file.

Functions

exahype2::RefinementCommand operator&& (exahype2::RefinementCommand lhs, exahype2::RefinementCommand rhs)
 If one of the flags says refine, then refine.
 
std::string toString (exahype2::RefinementCommand value)
 

Function Documentation

◆ operator&&()

If one of the flags says refine, then refine.

If one of the two flags says keep and noone says refine, return keep. Coarsen if and only if both say coarsen.

Definition at line 13 of file RefinementControl.cpp.

References exahype2::Erase, exahype2::Keep, and exahype2::Refine.

◆ toString()

std::string toString ( exahype2::RefinementCommand value)

Definition at line 30 of file RefinementControl.cpp.

References exahype2::Erase, exahype2::Keep, and exahype2::Refine.