level_set3rheolef
Zero level set of a field (rheolef-7.2)
Usage
geo level_set (const field& fh);
geo level_set (const field& fh, const level_set_option& lopt);
Overview
Given a field(2) fh defined in a domain Lambda, this function computes the level set defined by {x in Lambda, fh(x) = 0}. This level set is represented by the geo(2) class.
Options
The option class leve_set_option controls the slit of quadrilaterals into triangles for tridimensional intersected surface and also the zero machine precision, epsilon.
struct level_set_option {
bool split_to_triangle;
Float epsilon;
level_set_option()
: split_to_triangle(true),
epsilon(100*std::numeric_limits<Float>::epsilon())
{}
};
Implementation
This documentation has been generated from file main/lib/level_set.h
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.