Feel++  0.91.4
Public Types | Public Member Functions | Static Public Attributes
Feel::GeoElement3D< Dim, GEOSHAPE, T > Class Template Reference

Class for 3D elements. More...

#include <geoelement.hpp>

Inheritance diagram for Feel::GeoElement3D< Dim, GEOSHAPE, T >:
Feel::GeoND< Dim, GEOSHAPE, T, GeoElement0D< Dim, SubFaceOfNone, T > > Feel::SubFaceOfNone Feel::GeoEntity< GEOSHAPE > equality_comparable less_than_comparable less_than_comparable GEOSHAPE

List of all members.

Public Types

enum  { nDim = Dim }
typedef GeoND< Dim, GEOSHAPE,
T, GeoElement0D< Dim,
SubFaceOfNone, T > > 
super
typedef SubFaceOfNone super2
typedef GEOSHAPE GeoShape
typedef super::face_type entity_face_type
typedef GeoElement3D< Dim,
GEOSHAPE, T > 
self_type
typedef self_type element_type
typedef GeoElement2D< Dim,
entity_face_type, SubFaceOf
< self_type >, T > 
face_type
typedef GeoElement1D< Dim,
typename
entity_face_type::topological_face_type,
SubFaceOfNone, T > 
edge_type
typedef GeoElement0D< Dim,
SubFaceOfNone, T > 
point_type
typedef super::node_type node_type
typedef
super::vertex_permutation_type 
vertex_permutation_type
typedef
super::edge_permutation_type 
edge_permutation_type
typedef
super::face_permutation_type 
face_permutation_type
typedef
super::face_permutation_type 
permutation_type
typedef ublas::bounded_array
< face_type *, numLocalFaces >
::iterator 
face_iterator
typedef ublas::bounded_array
< face_type *, numLocalFaces >
::const_iterator 
face_const_iterator

Public Member Functions

 GeoElement3D (size_type id=0)
 GeoElement3D (GeoElement3D const &g)
 ~GeoElement3D ()
GeoElement3Doperator= (GeoElement3D const &g)
MeshBase const * mesh () const
size_type id () const
Marker1 const & marker () const
Marker1 & marker ()
Marker2 const & marker2 () const
Marker3 const & marker3 () const
bool isInterProcessDomain () const
bool isOnBoundary () const
bool isGhostCell () const
uint16_type processId () const
size_type ad_first () const
uint16_type pos_first () const
size_type ad_second () const
uint16_type pos_second () const
edge_type const & edge (uint16_type i) const
edge_type const * edgePtr (uint16_type i) const
edge_permutation_type edgePermutation (uint16_type i) const
void setEdge (uint16_type const i, edge_type const &p)
void setEdgePermutation (uint16_type i, edge_permutation_type o)
face_type const & face (uint16_type i) const
face_type const * facePtr (uint16_type i) const
face_permutation_type facePermutation (uint16_type i) const
face_permutation_type permutation (uint16_type i) const
void setFace (uint16_type const i, face_type const &p)
void setFacePermutation (uint16_type i, face_permutation_type o)
std::pair< face_iterator,
face_iterator > 
faces ()
std::pair< face_const_iterator,
face_const_iterator > 
faces () const

Static Public Attributes

static const uint16_type numLocalVertices = super::numVertices
 Number of local Vertices.
static const uint16_type numLocalFaces = super::numFaces
 Number of local Faces.
static const uint16_type numLocalEdges = super::numEdges
 Number of local Edges (using Euler Formula)

Detailed Description

template<uint16_type Dim, typename GEOSHAPE, typename T = double>
class Feel::GeoElement3D< Dim, GEOSHAPE, T >

Class for 3D elements.


Constructor & Destructor Documentation

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
Feel::GeoElement3D< Dim, GEOSHAPE, T >::GeoElement3D ( size_type  id = 0) [inline, explicit]
Parameters:
ididentifier of the element
template<uint16_type Dim, typename GEOSHAPE , typename T = double>
Feel::GeoElement3D< Dim, GEOSHAPE, T >::GeoElement3D ( GeoElement3D< Dim, GEOSHAPE, T > const &  g) [inline]

copy consttructor

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
Feel::GeoElement3D< Dim, GEOSHAPE, T >::~GeoElement3D ( ) [inline]

destructor


Member Function Documentation

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
std::pair<face_iterator,face_iterator> Feel::GeoElement3D< Dim, GEOSHAPE, T >::faces ( ) [inline]
Returns:
the iterator pair (begin,end) of faces
template<uint16_type Dim, typename GEOSHAPE , typename T = double>
std::pair<face_const_iterator,face_const_iterator> Feel::GeoElement3D< Dim, GEOSHAPE, T >::faces ( ) const [inline]
Returns:
the iterator pair (begin,end) of faces
template<uint16_type Dim, typename GEOSHAPE , typename T = double>
size_type Feel::GeoElement3D< Dim, GEOSHAPE, T >::id ( ) const [inline]
Returns:
true if on the boundary, false otherwise

Reimplemented from Feel::GeoEntity< GEOSHAPE >.

Referenced by Feel::GeoElement3D< Dim, GEOSHAPE, T >::permutation().

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
bool Feel::GeoElement3D< Dim, GEOSHAPE, T >::isGhostCell ( ) const [inline]
Returns:
true if ghost cell, false otherwise

Reimplemented from Feel::GeoEntity< GEOSHAPE >.

References Feel::GeoEntity< GEOSHAPE >::isGhostCell().

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
bool Feel::GeoElement3D< Dim, GEOSHAPE, T >::isInterProcessDomain ( ) const [inline]
Returns:
true if interprocess domain face, false otherwise

References Feel::GeoEntity< GEOSHAPE >::processId().

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
bool Feel::GeoElement3D< Dim, GEOSHAPE, T >::isOnBoundary ( ) const [inline]
Returns:
true if on the boundary, false otherwise

Reimplemented from Feel::GeoEntity< GEOSHAPE >.

References Feel::GeoEntity< GEOSHAPE >::isOnBoundary().

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
MeshBase const* Feel::GeoElement3D< Dim, GEOSHAPE, T >::mesh ( ) const [inline]
template<uint16_type Dim, typename GEOSHAPE , typename T = double>
GeoElement3D& Feel::GeoElement3D< Dim, GEOSHAPE, T >::operator= ( GeoElement3D< Dim, GEOSHAPE, T > const &  g) [inline]

copy operator

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
face_permutation_type Feel::GeoElement3D< Dim, GEOSHAPE, T >::permutation ( uint16_type  ) const [inline]
template<uint16_type Dim, typename GEOSHAPE , typename T = double>
uint16_type Feel::GeoElement3D< Dim, GEOSHAPE, T >::processId ( ) const [inline]
Returns:
process id

Reimplemented from Feel::GeoEntity< GEOSHAPE >.

References Feel::GeoEntity< GEOSHAPE >::processId().

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
void Feel::GeoElement3D< Dim, GEOSHAPE, T >::setEdge ( uint16_type const  i,
edge_type const &  p 
) [inline]

Inserts an edge

template<uint16_type Dim, typename GEOSHAPE , typename T = double>
void Feel::GeoElement3D< Dim, GEOSHAPE, T >::setFace ( uint16_type const  i,
face_type const &  p 
) [inline]

Inserts a face.