level_set4rheolef
Compute a level set from a function
Usage
geo level_set (const field& fh);
Overview
Given a function fh defined in a domain Lambda, compute the level set defined by {x in Lambda, fh(x) = 0}. This level set is represented by the geo class.
Options
The option class leve_set_option_type controls the slit of quadrilaterals into triangles for tridimensional intersected surface and also the zero machine precision, epsilon.
Implementation
struct level_set_option {
bool split_to_triangle;
Float epsilon;
level_set_option()
: split_to_triangle(true),
epsilon(100*std::numeric_limits<Float>::epsilon())
{}
};
template <class T, class M>
geo_basic<T,M> level_set (
const field_basic<T,M>& fh,
const level_set_option& opt = level_set_option());
Releases
4 releases since Debian 7 (Wheezy); the text changed 3 times.