DOKK / manpages / debian 11 / librheolef-dev / level_set.3rheolef.en
level_set(3rheolef) rheolef level_set(3rheolef)

level_set - zero level set of a field (rheolef-7.1)


geo level_set (const field& fh);
geo level_set (const field& fh, const level_set_option& lopt);

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.

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())
{} };

This documentation has been generated from file main/lib/level_set.h

Pierre Saramito <Pierre.Saramito@imag.fr>

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.

Sat Mar 13 2021 Version 7.1