GetFEM++  5.3
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. More...
 
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. More...
 
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

void getfem::mesh_level_set::update_from_context ( void  ) const
inlinevirtual

this function has to be defined and should update the object when the context is modified.

Implements getfem::context_dependencies.

Definition at line 88 of file getfem_mesh_level_set.h.

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

add a new level set.

Only a reference is kept, no copy done.

Definition at line 115 of file getfem_mesh_level_set.h.

void getfem::mesh_level_set::global_cut_mesh ( mesh m) const

fill m with the (non-conformal) "cut" mesh.

Definition at line 797 of file getfem_mesh_level_set.cc.


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