Peano
Loading...
Searching...
No Matches
RefinementControl.h File Reference
#include <vector>
#include <list>
#include "tarch/multicore/BooleanSemaphore.h"
#include "peano4/grid/GridControlEvent.h"
Include dependency graph for RefinementControl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  exahype2::RefinementControl
 Manage refine/erase requests within ExaHyPE 2. More...
 

Namespaces

namespace  exahype2
 For the generic kernels that I use here most of the time.
 

Enumerations

enum class  exahype2::RefinementCommand { exahype2::Keep , exahype2::Refine , exahype2::Erase }
 

Functions

RefinementCommand exahype2::getDefaultRefinementCommand ()
 The default is coarsen as this is the lowest priority command.
 
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.