Feel++ 0.91.0
|
2D mesh class More...
#include <mesh2d.hpp>
Public Member Functions | |
Constructors, destructor | |
Mesh2D () | |
Mesh2D (Mesh2D const &m) | |
~Mesh2D () | |
Operator overloads | |
Mesh2D & | operator= (Mesh2D const &m) |
Accessors | |
bool | isEmpty () const |
size_type | numElements () const |
size_type | numLocalEdges () const |
size_type | numLocalFaces () const |
size_type | numLocalVertices () const |
size_type | numFaces () const |
size_type | numEdges () const |
size_type | numPoints () const |
Methods | |
virtual void | clear () |
FEEL_DEFINE_VISITABLE () | |
Protected Member Functions | |
void | renumber () |
void | updateEntitiesCoDimensionOnePermutation () |
void | updateEntitiesCoDimensionTwo () |
Typedefs | |
typedef VisitableBase::return_type | return_type |
typedef VisitableBase | super_visitable |
typedef MeshBase | super |
typedef Elements< Shape > | super_elements |
typedef super_elements::elements_type | elements_type |
typedef super_elements::element_type | element_type |
typedef super_elements::element_iterator | element_iterator |
typedef super_elements::element_const_iterator | element_const_iterator |
typedef super_elements::update_element_neighbor_type | update_element_neighbor_type |
typedef Points< Shape::nRealDim > | super_points |
typedef super_points::points_type | points_type |
typedef super_points::point_type | point_type |
typedef Faces< typename Shape::template shape < 1, Shape::nOrder, Shape::nRealDim >::type, typename super_elements::element_type > | super_faces |
typedef super_faces::faces_type | faces_type |
typedef super_faces::face_type | face_type |
typedef face_type | edge_type |
typedef Mesh2D< Shape > | self_type |
typedef boost::shared_ptr < self_type > | self_ptrtype |
typedef element_type::edge_permutation_type | edge_permutation_type |
typedef element_type::face_permutation_type | face_permutation_type |
typedef super::face_processor_type | face_processor_type |
static const uint16_type | nDim = Shape::nRealDim |
2D mesh class
// create a 2D mesh made of simplex of order 1 Mesh2D<Simplex<2,1> > mesh; // create a 2D mesh made of simplex of order 2 Mesh2D<Simplex<2,2> > mesh;
typedef super::face_processor_type Feel::Mesh2D< Shape >::face_processor_type |
Tuple that contains
Reimplemented from Feel::MeshBase.
Feel::Mesh2D< Shape >::Mesh2D | ( | ) | [inline] |
default constructor
Feel::Mesh2D< Shape >::Mesh2D | ( | Mesh2D< Shape > const & | m | ) | [inline] |
copy constructor
Feel::Mesh2D< Shape >::~Mesh2D | ( | ) | [inline] |
destructor
virtual void Feel::Mesh2D< Shape >::clear | ( | ) | [inline, virtual] |
clear out all data from the mesh, isEmpty()
should return true
after a clear()
Reimplemented from Feel::MeshBase.
References Feel::elements(), Feel::faces(), Feel::Mesh2D< Shape >::isEmpty(), and Feel::points().
bool Feel::Mesh2D< Shape >::isEmpty | ( | ) | const [inline] |
true
if all containers are empty, false
otherwise Referenced by Feel::Mesh2D< Shape >::clear().
size_type Feel::Mesh2D< Shape >::numEdges | ( | ) | const [inline] |
References Feel::faces().
Referenced by Feel::Mesh2D< Shape >::updateEntitiesCoDimensionOnePermutation().
size_type Feel::Mesh2D< Shape >::numElements | ( | ) | const [inline, virtual] |
size_type Feel::Mesh2D< Shape >::numFaces | ( | ) | const [inline, virtual] |
size_type Feel::Mesh2D< Shape >::numLocalEdges | ( | ) | const [inline] |
Referenced by Feel::Mesh2D< Shape >::numLocalFaces().
size_type Feel::Mesh2D< Shape >::numLocalFaces | ( | ) | const [inline] |
References Feel::Mesh2D< Shape >::numLocalEdges().
size_type Feel::Mesh2D< Shape >::numLocalVertices | ( | ) | const [inline] |
size_type Feel::Mesh2D< Shape >::numPoints | ( | ) | const [inline, virtual] |
void Feel::Mesh2D< Shape >::renumber | ( | ) | [inline, protected, virtual] |
void Feel::Mesh2D< Shape >::updateEntitiesCoDimensionOnePermutation | ( | ) | [inline, protected] |
update permutation of entities of co-dimension 1
References Feel::elements(), and Feel::Mesh2D< Shape >::numEdges().
void Feel::Mesh2D< Shape >::updateEntitiesCoDimensionTwo | ( | ) | [inline, protected, virtual] |
update the entities of co-dimension 2
Implements Feel::MeshBase.