hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::criteria Namespace Reference

A namespace for functions to be used as refinement criteria. More...

Functions

bool always (Element &)
 returns true
 
bool never (Element &)
 returns false
 
bool if_extruded (Element &elem)
 returns true if the element is extruded in a tree mesh
 
std::function< bool(Element &)> criterion (std::function< bool(bool is_extruded, int ref_level, double nom_sz, Eigen::Vector3d center, double res_bad)>)
 Gets a refinement criterion from a general function that operates on some attributes of an Element but not the Element itself.
 
std::function< bool(Element &)> logical_not (std::function< bool(Element &)>)
 inverts an existing function
 
std::function< bool(Element &)> criterion (std::function< bool(bool is_extruded, int ref_level, double nom_sz, Eigen::Vector3d center, double uncertainty)> f)
 

Detailed Description

A namespace for functions to be used as refinement criteria.