Feel++ 0.91.0
Protected Member Functions

Feel::Mesh1D< Shape > Class Template Reference

1D mesh class More...

#include <mesh1d.hpp>

Inheritance diagram for Feel::Mesh1D< Shape >:
Feel::VisitableBase<> Feel::MeshBase

List of all members.

Public Member Functions

Constructors, destructor
 Mesh1D ()
 Mesh1D (Mesh1D const &m)
 ~Mesh1D ()
Operator overloads
Mesh1Doperator= (Mesh1D const &m)
Accessors
bool isEmpty () const
size_type numElements () const
size_type numLocalFaces () const
size_type numLocalVertices () const
size_type numFaces () 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< nRealDim > super_points
typedef super_points::points_type points_type
typedef super_points::point_type point_type
typedef Faces< typename
Shape::template shape
< 0, 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 Mesh1D< Shape > self_type
typedef boost::shared_ptr
< self_type
self_ptrtype
typedef
element_type::vertex_permutation_type 
vertex_permutation_type
typedef
element_type::edge_permutation_type 
edge_permutation_type
typedef super::face_processor_type face_processor_type
static const uint16_type nDim = Shape::nRealDim
static const uint16_type nRealDim = Shape::nRealDim

Detailed Description

template<typename Shape>
class Feel::Mesh1D< Shape >

1D mesh class

 // create a 1D mesh made of simplex of order 1
 Mesh1D<Simplex<1,1> > mesh;

 // create a 1D mesh made of simplex of order 2
 Mesh1D<Simplex<1,2> > mesh;
Author:
Christophe Prud'homme
See also:

Member Typedef Documentation

template<typename Shape >
typedef super::face_processor_type Feel::Mesh1D< Shape >::face_processor_type

Tuple that contains

  1. the index of the face
  1. the processor id the face belongs to

Reimplemented from Feel::MeshBase.


Constructor & Destructor Documentation

template<typename Shape >
Feel::Mesh1D< Shape >::Mesh1D ( ) [inline]

default constructor

template<typename Shape >
Feel::Mesh1D< Shape >::Mesh1D ( Mesh1D< Shape > const &  m) [inline]

copy constructor

template<typename Shape >
Feel::Mesh1D< Shape >::~Mesh1D ( ) [inline]

destructor


Member Function Documentation

template<typename Shape >
virtual void Feel::Mesh1D< 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::Mesh1D< Shape >::isEmpty(), and Feel::points().

template<typename Shape >
bool Feel::Mesh1D< Shape >::isEmpty ( ) const [inline]
Returns:
true if all containers are empty, false otherwise

Referenced by Feel::Mesh1D< Shape >::clear().

template<typename Shape >
size_type Feel::Mesh1D< Shape >::numElements ( ) const [inline, virtual]
Returns:
the number of elements

Implements Feel::MeshBase.

References Feel::elements().

template<typename Shape >
size_type Feel::Mesh1D< Shape >::numFaces ( ) const [inline, virtual]
Returns:
the number of faces

Implements Feel::MeshBase.

References Feel::faces().

template<typename Shape >
size_type Feel::Mesh1D< Shape >::numLocalFaces ( ) const [inline]
Returns:
the number of faces in an element
template<typename Shape >
size_type Feel::Mesh1D< Shape >::numLocalVertices ( ) const [inline]
Returns:
the number of vertices in an element
template<typename Shape >
size_type Feel::Mesh1D< Shape >::numPoints ( ) const [inline, virtual]
Returns:
the number of points

Implements Feel::MeshBase.

References Feel::points().

template<typename Shape >
void Feel::Mesh1D< Shape >::renumber ( ) [inline, protected, virtual]

dummy implementation

See also:
Mesh

Implements Feel::MeshBase.

template<typename Shape >
void Feel::Mesh1D< Shape >::updateEntitiesCoDimensionOnePermutation ( ) [inline, protected]

update permutation of entities of co-dimension 1

template<typename Shape >
void Feel::Mesh1D< Shape >::updateEntitiesCoDimensionTwo ( ) [inline, protected, virtual]

update the entities of co-dimension 2

Implements Feel::MeshBase.