GetFEM  5.4.2
getfem::mesh_slicer Class Reference

Apply a serie a slicing operations to a mesh. More...

#include <getfem_mesh_slicers.h>

Public Member Functions

 mesh_slicer (const mesh &m_)
 mesh_slicer constructor. More...
 
void exec (size_type nrefine, const mesh_region &cvlst)
 build a new mesh_slice. More...
 
void exec (const stored_mesh_slice &sms)
 build a new mesh slice. More...
 
void exec (const std::vector< base_node > &pts)
 build a new mesh_slice than can be used to interpolate a field on a fixed set of points. More...
 

Detailed Description

Apply a serie a slicing operations to a mesh.

No output is produced by this object, the real output obtained with the side-effect of certain getfem::mesh_slicer objects (such as getfem::slicer_build_stored_mesh_slice).

Definition at line 103 of file getfem_mesh_slicers.h.

Constructor & Destructor Documentation

◆ mesh_slicer()

getfem::mesh_slicer::mesh_slicer ( const mesh m_)

mesh_slicer constructor.

Use mesh_slicer::exec to build the slice.

Parameters
m_the mesh that is going to be sliced.

Definition at line 561 of file getfem_mesh_slicers.cc.

Member Function Documentation

◆ exec() [1/3]

void getfem::mesh_slicer::exec ( size_type  nrefine,
const mesh_region cvlst 
)

build a new mesh_slice.

Parameters
nrefinenumber of refinments for each convex of the original mesh (size_type or a vector indexed by the convex number)
cvlstthe list of convex numbers (or convex faces) of m that will be taken into account for the slice

Definition at line 654 of file getfem_mesh_slicers.cc.

◆ exec() [2/3]

void getfem::mesh_slicer::exec ( const stored_mesh_slice sms)

build a new mesh slice.

Parameters
smsan initial stored_mesh_slice

Definition at line 923 of file getfem_mesh_slicers.cc.

◆ exec() [3/3]

void getfem::mesh_slicer::exec ( const std::vector< base_node > &  pts)

build a new mesh_slice than can be used to interpolate a field on a fixed set of points.

Parameters
ptsthe list of points

Definition at line 934 of file getfem_mesh_slicers.cc.


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