.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH level_set 4rheolef "rheolef-7.0" "rheolef-7.0" "rheolef-7.0" .\" label: /*Class: .SH NAME \fBlevel_set\fP - compute a level set from a function .\" skip: @findex level_set .\" skip: @clindex field .\" skip: @clindex geo .PP .SH SYNOPSIS geo level_set (const field& fh); .SH DESCRIPTION Given a function \fBfh\fP defined in a domain \fBLambda\fP, compute the level set defined by {x in Lambda, fh(x) = 0}. This level set is represented by the \fBgeo\fP class. .SH OPTIONS The option class \fBleve_set_option_type\fP controls the slit of quadrilaterals into triangles for tridimensional intersected surface and also the zero machine precision, \fBepsilon\fP. .\" END .SH IMPLEMENTATION .\" begin_example .Sp .nf struct level_set_option { bool split_to_triangle; Float epsilon; level_set_option() : split_to_triangle(true), epsilon(100*std::numeric_limits::epsilon()) {} }; template geo_basic level_set ( const field_basic& fh, const level_set_option& opt = level_set_option()); .Sp .fi .\" end_example .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.