.TH "level_set" 3rheolef "Version 7.2" "rheolef" \" -*- nroff -*- .ad l .nh .SH NAME level_set \- zero level set of a field (rheolef-7\&.2) .SH "SYNOPSIS" .PP .PP .nf geo level_set (const field& fh); geo level_set (const field& fh, const level_set_option& lopt); .fi .PP .SH "DESCRIPTION" .PP Given a \fBfield(2)\fP \fCfh\fP defined in a domain \fCLambda\fP, this function computes the level set defined by \fC{x in Lambda, fh(x) = 0}\fP\&. This level set is represented by the \fBgeo(2)\fP class\&. .SH "OPTIONS" .PP The option class \fCleve_set_option\fP controls the slit of quadrilaterals into triangles for tridimensional intersected surface and also the zero machine precision, \fCepsilon\fP\&. .PP .PP .nf struct level_set_option { bool split_to_triangle; Float epsilon; level_set_option() : split_to_triangle(true), epsilon(100*std::numeric_limits::epsilon()) {} }; .fi .PP .SH "IMPLEMENTATION" .PP This documentation has been generated from file main/lib/level_set\&.h .SH AUTHOR Pierre Saramito .SH COPYRIGHT Copyright (C) 2000-2018 Pierre Saramito GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.