![]() |
PRISMS-PF Manual
|
#include <grid_refiner_criterion.h>
Public Member Functions | |
| RefinementCriterion (const RefinementFlags &_criterion=RefinementFlags::Nothing, const double &_value_lower_bound=DBL_MAX, const double &_value_upper_bound=DBL_MAX, const double &_gradient_lower_bound=DBL_MAX) | |
| Constructor. | |
| bool | value_in_open_range (double value) const |
| Whether the provided value is in the open range for the value refinement criteria. | |
| bool | gradient_magnitude_above_threshold (double gradient_magnitude) const |
| Whether the provided gradient magnitude is greater than the minimum value. | |
| std::string | criterion_string () const |
| Convert refinement criterion type to string. | |
Public Attributes | |
| RefinementFlags | criterion = RefinementFlags::Nothing |
| double | value_lower_bound = DBL_MAX |
| double | value_upper_bound = DBL_MAX |
| double | gradient_lower_bound = DBL_MAX |
This class holds information for a determining whether the mesh should be refined.
TODO (landinjm): This should likely be part of VariableAttributes
|
inlineexplicit |
Constructor.
|
inline |
Convert refinement criterion type to string.
|
inline |
Whether the provided gradient magnitude is greater than the minimum value.
Whether the provided value is in the open range for the value refinement criteria.
| RefinementFlags RefinementCriterion::criterion = RefinementFlags::Nothing |