GetFEM++  5.3
getfem::mesh_im_cross_level_set Class Reference

Describe an adaptable integration method linked to a mesh cut by at least two level sets on the intersection of two level sets. More...

#include <getfem_mesh_im_level_set.h>

Inherits getfem::mesh_im.

Public Member Functions

void update_from_context (void) const
 this function has to be defined and should update the object when the context is modified. More...
 
void adapt (void)
 Apply the adequate integration methods. More...
 
void set_segment_im (pintegration_method pim)
 Set the specific integration methods. More...
 
virtual pintegration_method int_method_of_element (size_type cv) const
 return the integration method associated with an element (in no integration is associated, the function will crash! use the convex_index() of the mesh_im to check that a fem is associated to a given convex)
 
- Public Member Functions inherited from getfem::mesh_im
void set_auto_add (pintegration_method pim)
 Set the im for automatic addition of element option. More...
 
const dal::bit_vector & convex_index (void) const
 Get the set of convexes where an integration method has been assigned.
 
const meshlinked_mesh () const
 Give a reference to the linked mesh of type mesh.
 
void set_integration_method (size_type cv, pintegration_method pim)
 Set the integration method of a convex. More...
 
void set_integration_method (const dal::bit_vector &cvs, pintegration_method pim)
 Set the integration method on all the convexes of indexes in bv, which is of type dal::bit_vector.
 
void set_integration_method (pintegration_method ppi)
 shortcut for More...
 
void set_integration_method (const dal::bit_vector &cvs, dim_type im_degree)
 Set an approximate integration method chosen to be exact for polynomials of degree 'im_degree'.
 
void set_integration_method (dim_type im_degree)
 Set an approximate integration method chosen to be exact for polynomials of degree 'im_degree' on the whole mesh.
 
void read_from_file (std::istream &ist)
 Read the mesh_im from a stream. More...
 
void read_from_file (const std::string &name)
 Read the mesh_im from a file. More...
 
void write_to_file (std::ostream &ost) const
 Write the mesh_im to a stream. More...
 
void write_to_file (const std::string &name, bool with_mesh=false) const
 Write the mesh_im to a file. More...
 
- Public Member Functions inherited from getfem::context_dependencies
bool context_check () const
 return true if update_from_context was called
 

Detailed Description

Describe an adaptable integration method linked to a mesh cut by at least two level sets on the intersection of two level sets.

Definition at line 186 of file getfem_mesh_im_level_set.h.

Member Function Documentation

void getfem::mesh_im_cross_level_set::update_from_context ( void  ) const
virtual

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

Reimplemented from getfem::mesh_im.

Definition at line 474 of file getfem_mesh_im_level_set.cc.

void getfem::mesh_im_cross_level_set::adapt ( void  )

Apply the adequate integration methods.

Definition at line 717 of file getfem_mesh_im_level_set.cc.

void getfem::mesh_im_cross_level_set::set_segment_im ( pintegration_method  pim)
inline

Set the specific integration methods.

see the constructor documentation for more details.

Definition at line 219 of file getfem_mesh_im_level_set.h.


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