table of contents
level_set(4rheolef) | rheolef-7.0 | level_set(4rheolef) |
NAME¶
level_set - compute a level set from a function
SYNOPSIS¶
geo level_set (const field& fh);
DESCRIPTION¶
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());
COPYRIGHT¶
Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
rheolef-7.0 | rheolef-7.0 |