Peano
Loading...
Searching...
No Matches
exahype2.api.AdaptivityCriterion Namespace Reference

Data Structures

class  AdaptivityCriterion
 Base class of all the PDE terms which decide where to refine or coarsen the mesh. More...
 

Functions

AdaptivityCriterion get_adaptivity_criterion (solver)
 The solver's adaptivity criterion, or None if it has none.
 

Function Documentation

◆ get_adaptivity_criterion()

AdaptivityCriterion exahype2.api.AdaptivityCriterion.get_adaptivity_criterion (   solver)

The solver's adaptivity criterion, or None if it has none.

Raises a ValueError if the solver has more than one adaptivity criterion.

Parameters
solverexahype2.api.Solver The solver to inspect.

Definition at line 68 of file AdaptivityCriterion.py.