GetFEM  5.4.2
getfem::mesh_level_set Class Reference

Keep informations about a mesh crossed by level-sets. More...

#include <getfem_mesh_level_set.h>

Inherits getfem::context_dependencies, and dal::static_stored_object.

Public Member Functions

size_type nb_level_sets (void) const
 Get number of level-sets referenced in this object.
void update_from_context (void) const
 this function has to be defined and should update the object when the context is modified.
meshlinked_mesh (void) const
 Gives a reference to the linked mesh of type mesh.
void add_level_set (level_set &ls)
 add a new level set. More...
void global_cut_mesh (mesh &m) const
 fill m with the (non-conformal) "cut" mesh.
void adapt (void)
 do all the work (cut the convexes wrt the levelsets)
- Public Member Functions inherited from getfem::context_dependencies
bool context_check () const
 return true if update_from_context was called

Detailed Description

Keep informations about a mesh crossed by level-sets.

Cut convexes with respect to the level sets.

Note that the cutting won't be conformal.

Definition at line 52 of file getfem_mesh_level_set.h.

Member Function Documentation

◆ add_level_set()

void getfem::mesh_level_set::add_level_set ( level_set ls)

add a new level set.

Only a reference is kept, no copy done.

Definition at line 115 of file getfem_mesh_level_set.h.

The documentation for this class was generated from the following files: