Feel++  0.91.4
Public Types | Public Member Functions | Static Public Attributes | List of all members
Feel::Geo0D< Dim, T > Class Template Reference

#include <geo0d.hpp>

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

Public Types

typedef Geo0D< Dim, T > self_type
 
typedef T value_type
 
typedef matrix_node
< value_type >::type 
matrix_node_type
 
typedef super2 node_type
 
typedef node< T, 2 >::type parametric_node_type
 
- Public Types inherited from Feel::GeoEntity< Simplex< 0, 1, Dim > >
typedef Simplex< 0, 1, Dim > super
 
typedef GeoEntity< Simplex
< 0, 1, Dim > > 
GeoShape
 
typedef GeoEntity< Simplex
< 0, 1, Dim > > 
self_type
 
typedef
super::topological_face_type 
face_type
 
typedef face_type GeoBShape
 
typedef Simplex< 0, 1, Dim >
::edge_permutation_type 
edge_permutation_type
 
typedef Simplex< 0, 1, Dim >
::face_permutation_type 
face_permutation_type
 
typedef Simplex< 0, 1, Dim > convex_type
 

Public Member Functions

 Geo0D ()
 
 Geo0D (size_type id, bool boundary=false, bool is_vertex=false)
 
 Geo0D (size_type id, value_type x, value_type y, value_type z, bool boundary=false, bool is_vertex=false)
 
 Geo0D (value_type x, value_type y, value_type z)
 
 Geo0D (size_type id, node_type const &__x, bool boundary=false, bool is_vertex=false)
 
 Geo0D (node_type const &__x)
 
template<typename AE >
 Geo0D (ublas::vector_expression< AE > const &__expr)
 
 Geo0D (Geo0D const &G)
 
Geo0Doperator= (Geo0D const &G)
 
template<typename AE >
Geo0Doperator= (ublas::vector_expression< AE > const &expr)
 
template<typename AE >
Geo0Doperator+= (ublas::vector_expression< AE > const &expr)
 
value_type & operator() (int i)
 
value_type operator() (int i) const
 
bool isVertex () const
 
void setAsVertex (bool v)
 
void setMesh (MeshBase const *m)
 
MeshBase const * mesh () const
 
Geo0D const & node () const
 
matrix_node_type G () const
 
matrix_node_type vertices () const
 
value_type measure () const
 
bool isParametric () const
 
int gDim () const
 
int gTag () const
 
parametric_node_type const & parametricCoordinates () const
 
value_type u () const
 
value_type v () const
 
void setNode (node_type const &__n)
 
bool operator== (Geo0D const &geo0d) const
 
bool operator< (Geo0D const &e) const
 
bool operator< (size_type __i) const
 
std::ostream & showMe (bool verbose=false, std::ostream &c=std::cout) const
 
void setPoint (uint16_type const , self_type const &p)
 
self_typetranslate (node_type const &trans)
 
Marker1 const & marker () const
 
Marker1 & marker ()
 
void setMarker (flag_type v)
 
Marker2 const & marker2 () const
 
Marker2 & marker2 ()
 
void setMarker2 (flag_type v)
 
Marker3 const & marker3 () const
 
Marker3 & marker3 ()
 
void setMarker3 (flag_type v)
 
void setTags (std::vector< int > const &tags)
 
void setGDim (int gdim)
 
void setGTag (int gtag)
 
void setParametricCoordinates (parametric_node_type const &x)
 
void setParametricCoordinates (value_type u, value_type v)
 
template<uint16_type Dim>
 Geo0D (uint16_type id, bool boundary)
 
template<uint16_type Dim>
 Geo0D (uint16_type id, Real x, Real y, Real z, bool boundary)
 
template<uint16_type Dim>
Geo0D< Dim > & operator= (Geo0D< Dim > const &G)
 
- Public Member Functions inherited from Feel::GeoEntity< Simplex< 0, 1, Dim > >
 GeoEntity ()
 
 GeoEntity (size_type i, size_type geometry=Geometry, size_type shape=Shape, size_type context=MESH_ENTITY_INTERNAL)
 
 GeoEntity (GeoEntity const &__me)
 
GeoEntityoperator= (GeoEntity const &__me)
 
virtual ~GeoEntity ()
 
bool operator== (GeoEntity const &e) const
 
bool operator< (GeoEntity const &e) const
 
bool operator< (size_type __i) const
 
size_type id () const
 
uint16_type refDim () const
 
uint16_type nPoints () const
 
uint16_type nVertices () const
 
uint16_type nEdges () const
 
uint16_type nFaces () const
 
uint16_type nGeometricFaces () const
 
uint16_type nNormals () const
 
bool hasShape (size_type __shape) const
 
bool isAVolume () const
 
bool isASurface () const
 
bool isALine () const
 
bool isAPoint () const
 
bool isAPointShape () const
 
bool isALineShape () const
 
bool isATriangleShape () const
 
bool isAQuadrangleShape () const
 
bool isATetrahedraShape () const
 
bool isAHexahedraShape () const
 
bool isLinear () const
 
bool isBilinear () const
 
bool isQuadratic () const
 
bool isInternal () const
 
bool isOnBoundary () const
 
bool isGhostCell () const
 
uint16_type processId () const
 
void setProcessId (uint16_type pid)
 
void setProcessIdInPartition (uint16_type pid)
 
uint16_type partitionId () const
 
uint16_type numberOfPartitions () const
 
size_type numberOfNeighborPartitions () const
 
bool isLinkedToOtherPartitions () const
 
std::vector< int > const & neighborPartitionIds () const
 
void setIdInPartition (uint16_type pid, size_type id)
 
size_type idInPartition (uint16_type pid) const
 
bool active () const
 
void setId (size_type id)
 
void setOnBoundary (bool b)
 
void setNumberOfPartitions (uint16_type np)
 
void setNumberOfNeighborPartitions (uint16_type nep)
 
void setNeighborPartitionIds (std::vector< int > const &npids)
 
self_typeaddElement (size_type e)
 
size_type numberOfElements () const
 
std::set< size_type > const & elements () const
 
- Public Member Functions inherited from Feel::Simplex< 0, 1, Dim >
uint16_type topologicalDimension () const
 
uint16_type dimension () const
 
- Public Member Functions inherited from Feel::Convex< Dim, Order, RDim >
 Convex ()
 default constructor
 
 Convex (Convex const &)
 copy constructor
 
virtual ~Convex ()
 destructor
 
Convexoperator= (Convex const &o)
 copy operator
 

Static Public Attributes

static const uint16_type nDim = Dim
 
- Static Public Attributes inherited from Feel::GeoEntity< Simplex< 0, 1, Dim > >
static const size_type Shape
 
static const size_type Geometry
 
static const uint16_type nDim
 
static const uint16_type nOrder
 
static const uint16_type nRealDim
 
static const uint16_type numVertices
 
static const uint16_type numFaces
 
static const uint16_type numGeometricFaces
 
static const uint16_type numTopologicalFaces
 
static const uint16_type numEdges
 
static const uint16_type numNormals
 
static const uint16_type numPoints
 
static const uint16_type nbPtsPerVertex
 
static const uint16_type nbPtsPerEdge
 
static const uint16_type nbPtsPerFace
 
static const uint16_type nbPtsPerVolume
 
static const bool is_simplex
 
static const bool is_hypercube
 

Additional Inherited Members

- Static Public Member Functions inherited from Feel::GeoEntity< Simplex< 0, 1, Dim > >
static uint16_type eToP (uint16_type const __localEdge, uint16_type const __point)
 
static uint16_type fToP (uint16_type const __localFace, uint16_type const __point)
 
static uint16_type fToE (uint16_type const __localFace, uint16_type const __edge)
 
- Static Public Member Functions inherited from Feel::Simplex< 0, 1, Dim >
static uint16_type nPointsOnVertex ()
 
static uint16_type nPointsOnEdge ()
 
static uint16_type nPointsOnFace ()
 
static uint16_type nPointsOnVolume ()
 
static uint32_type polyDims (int n)
 
static uint16_type e2p (uint16_type e, uint16_type p)
 
static uint16_type f2e (uint16_type f, uint16_type e)
 
static uint16_type f2eLoc (uint16_type f, uint16_type e)
 
static uint16_type f2p (uint16_type f, uint16_type p)
 
static std::string name ()
 
static std::string type ()
 

Detailed Description

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

Zero dimensional entity.