Feel++
0.91.4
|
class for 1D elements More...
#include <geoelement.hpp>
Public Types | |
typedef GeoND< Dim, GEOSHAPE, T, GeoElement0D< Dim, SubFaceOfNone, T > > | super |
typedef SubFace | super2 |
typedef GEOSHAPE | GeoShape |
typedef GeoElement1D< Dim, GEOSHAPE, SubFace, T > | self_type |
typedef self_type | element_type |
typedef mpl::if_ < mpl::equal_to< mpl::int_ < nDim >, mpl::int_ < 1 > >, mpl::identity < GeoElement0D< Dim, SubFaceOf < self_type >, T > >, mpl::identity < GeoElement0D< Dim, SubFaceOfNone, T > > >::type::type | point_type |
typedef point_type | GeoBElement |
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::permutation_type | permutation_type |
typedef ublas::bounded_array < point_type *, numLocalVertices > ::iterator | face_iterator |
typedef ublas::bounded_array < point_type *, numLocalVertices > ::const_iterator | face_const_iterator |
Public Member Functions | |
BOOST_MPL_ASSERT_MSG ((condition), INVALID_ELEMENT_REAL_DIMENSION,(mpl::int_< Dim >, mpl::int_< nRealDim >, GEOSHAPE)) | |
GeoElement1D (size_type id=0) | |
GeoElement1D (GeoElement1D const &g) | |
~GeoElement1D () | |
GeoElement1D & | operator= (GeoElement1D const &g) |
MeshBase const * | mesh () const |
size_type | id () const |
bool | isInterProcessDomain () const |
bool | isOnBoundary () const |
bool | isGhostCell () const |
uint16_type | processId () const |
void | setMap (uint8_type k_1, uint8_type k_2) |
uint8_type | map (uint8_type k_1) const |
Marker1 const & | marker () const |
Marker1 & | marker () |
Marker2 const & | marker2 () const |
Marker3 const & | marker3 () const |
void | setFace (uint16_type const i, point_type const &p) |
edge_permutation_type | permutation (uint16_type) const |
point_type const & | face (uint16_type i) const |
point_type const * | facePtr (uint16_type i) const |
point_type * | facePtr (uint16_type i) |
std::pair< face_iterator, face_iterator > | faces () |
std::pair< face_const_iterator, face_const_iterator > | faces () const |
vertex_permutation_type | facePermutation (uint16_type i) const |
Static Public Attributes | |
static const uint16_type | nDim = super::nDim |
static const uint16_type | nOrder = super::nOrder |
static const uint16_type | nRealDim = super::nRealDim |
static const bool | condition = (Dim==nRealDim) |
static const uint16_type | numLocalVertices = super::numLocalVertices |
static const uint16_type | numLocalEdges = super::numEdges |
static const uint16_type | numLocalFaces = super::numLocalVertices |
class for 1D elements
In the 2D case, we store the size_types of the adjacent 2D elements and their relative position.
Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::GeoElement1D | ( | size_type | id = 0 | ) | [inline, explicit] |
default constructor, make it explicit to avoid implict inversion to size_type
Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::GeoElement1D | ( | GeoElement1D< Dim, GEOSHAPE, SubFace, T > const & | g | ) | [inline] |
copy consttructor
Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::~GeoElement1D | ( | ) | [inline] |
destructor
vertex_permutation_type Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::facePermutation | ( | uint16_type | i | ) | const [inline] |
std::pair<face_iterator,face_iterator> Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::faces | ( | ) | [inline] |
std::pair<face_const_iterator,face_const_iterator> Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::faces | ( | ) | const [inline] |
size_type Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::id | ( | ) | const [inline] |
true
if on the boundary, false
otherwise Reimplemented from Feel::GeoEntity< GEOSHAPE >.
bool Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::isGhostCell | ( | ) | const [inline] |
true
if ghost cell, false
otherwise Reimplemented from Feel::GeoEntity< GEOSHAPE >.
References Feel::GeoEntity< GEOSHAPE >::isGhostCell().
bool Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::isInterProcessDomain | ( | ) | const [inline] |
true
if interprocess domain face, false
otherwise References Feel::GeoEntity< GEOSHAPE >::processId().
bool Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::isOnBoundary | ( | ) | const [inline] |
true
if on the boundary, false
otherwise Reimplemented from Feel::GeoEntity< GEOSHAPE >.
References Feel::GeoEntity< GEOSHAPE >::isOnBoundary().
MeshBase const* Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::mesh | ( | ) | const [inline] |
Reimplemented from Feel::GeoND< Dim, GEOSHAPE, T, GeoElement0D< Dim, SubFaceOfNone, T > >.
References Feel::GeoND< Dim, GEOSHAPE, T, GeoElement0D< Dim, SubFaceOfNone, T > >::mesh().
GeoElement1D& Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::operator= | ( | GeoElement1D< Dim, GEOSHAPE, SubFace, T > const & | g | ) | [inline] |
copy operator
edge_permutation_type Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::permutation | ( | uint16_type | ) | const [inline] |
Reimplemented from Feel::GeoND< Dim, GEOSHAPE, T, GeoElement0D< Dim, SubFaceOfNone, T > >.
uint16_type Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::processId | ( | ) | const [inline] |
Reimplemented from Feel::GeoEntity< GEOSHAPE >.
References Feel::GeoEntity< GEOSHAPE >::processId().
void Feel::GeoElement1D< Dim, GEOSHAPE, SubFace, T >::setFace | ( | uint16_type const | i, |
point_type const & | p | ||
) | [inline] |
Inserts a point as face of the edge geometric element