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
 This file is part of the multigrid project within Peano 4.
 

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.

◆ toString()

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

Referenced by exahype2::enumerator::FaceAoSLexicographicEnumerator::operator()().

Here is the caller graph for this function: