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

#include <geoelement.hpp>

Inheritance diagram for Feel::GeoElement0D< Dim, SubFace, T >:
Feel::Geo0D< Dim, T > equality_comparable less_than_comparable less_than_comparable Feel::GeoEntity< Simplex< 0, 1, Dim > > type equality_comparable less_than_comparable less_than_comparable Feel::Simplex< 0, 1, Dim > Feel::Convex< Dim, Order, RDim > Feel::ConvexBase

List of all members.

Public Types

typedef Geo0D< Dim, T > geo0d_type
typedef geo0d_type::node_type node_type
typedef geo0d_type super
typedef SubFace super2
typedef GeoElement0D< Dim,
SubFace, T > 
self_type
typedef mpl::if_
< mpl::equal_to< mpl::int_
< SubFace::nDim >, mpl::int_
< 0 > >, mpl::identity
< self_type >, mpl::identity
< typename SubFace::template
Element< self_type >::type >
>::type::type 
element_type
typedef self_type point_type

Public Member Functions

 GeoElement0D (size_type id, bool boundary=false)
 Declares item id and if it is on boundary.
 GeoElement0D (size_type id, node_type const &n, bool boundary=false)
 GeoElement0D (size_type id, Real x, Real y, Real z, bool boundary=false)
template<typename SF >
 GeoElement0D (GeoElement0D< Dim, SF, T > const &g)
template<typename SF >
GeoElement0Doperator= (GeoElement0D< Dim, SF, T > const &g)
MeshBase const * mesh () const
size_type id () const
uint16_type processId () const
bool isInterProcessDomain () const
bool isOnBoundary () const
bool isGhostCell () const
geo0d_type const & point (uint16_type) const
void setPoint (uint16_type, geo0d_type const &e)
Marker1 const & marker () const
Marker1 & marker ()
Marker2 const & marker2 () const
Marker2 & marker2 ()
Marker3 const & marker3 () const
Marker3 & marker3 ()

Static Public Attributes

static const uint16_type nDim = 0
static const uint16_type nRealDim = Dim

Detailed Description

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
class Feel::GeoElement0D< Dim, SubFace, T >

Class for Points and Vertices

Bug:
: in the 1D mesh case the points are subfaces of the segments but this is not handled yet, fixes in regionmesh1D needed

Constructor & Destructor Documentation

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Feel::GeoElement0D< Dim, SubFace, T >::GeoElement0D ( size_type  id,
Real  x,
Real  y,
Real  z,
bool  boundary = false 
) [inline]

Declares item id and if it is on boundary, and provides coordinate data.


Member Function Documentation

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
size_type Feel::GeoElement0D< Dim, SubFace, T >::id ( ) const [inline]
Returns:
id

Reimplemented from Feel::GeoEntity< Simplex< 0, 1, Dim > >.

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

Reimplemented from Feel::GeoEntity< Simplex< 0, 1, Dim > >.

References Feel::GeoEntity< Simplex< 0, 1, Dim > >::isGhostCell().

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

References Feel::GeoEntity< Simplex< 0, 1, Dim > >::processId().

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

Reimplemented from Feel::GeoEntity< Simplex< 0, 1, Dim > >.

References Feel::GeoEntity< Simplex< 0, 1, Dim > >::isOnBoundary().

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Marker1 const& Feel::GeoElement0D< Dim, SubFace, T >::marker ( ) const [inline]
Returns:
marker1() index

Reimplemented from Feel::Geo0D< Dim, T >.

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Marker1& Feel::GeoElement0D< Dim, SubFace, T >::marker ( ) [inline]
Returns:
marker1() index

Reimplemented from Feel::Geo0D< Dim, T >.

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Marker2 const& Feel::GeoElement0D< Dim, SubFace, T >::marker2 ( ) const [inline]
Returns:
marker2() index

Reimplemented from Feel::Geo0D< Dim, T >.

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Marker2& Feel::GeoElement0D< Dim, SubFace, T >::marker2 ( ) [inline]
Returns:
marker2() index

Reimplemented from Feel::Geo0D< Dim, T >.

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Marker3 const& Feel::GeoElement0D< Dim, SubFace, T >::marker3 ( ) const [inline]
Returns:
marker3() index

Reimplemented from Feel::Geo0D< Dim, T >.

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
Marker3& Feel::GeoElement0D< Dim, SubFace, T >::marker3 ( ) [inline]
Returns:
marker3() index

Reimplemented from Feel::Geo0D< Dim, T >.

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
MeshBase const* Feel::GeoElement0D< Dim, SubFace, T >::mesh ( ) const [inline]
Returns:
the mesh to which this geometric entity belongs to

Reimplemented from Feel::Geo0D< Dim, T >.

References Feel::Geo0D< Dim, T >::mesh().

template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
geo0d_type const& Feel::GeoElement0D< Dim, SubFace, T >::point ( uint16_type  ) const [inline]
Returns:
the point associated to the face
template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
uint16_type Feel::GeoElement0D< Dim, SubFace, T >::processId ( ) const [inline]
template<uint16_type Dim, typename SubFace = SubFaceOfNone, typename T = double>
void Feel::GeoElement0D< Dim, SubFace, T >::setPoint ( uint16_type  ,
geo0d_type const &  e 
) [inline]

set the geometrical point associated to the face

Reimplemented from Feel::Geo0D< Dim, T >.