#include <geoentity.hpp>
template<typename Entity>
class Feel::GeoEntity< Entity >
base class for all geometric entities
- Author
- Christophe Prud'homme
- See Also
Inherits equality_comparable< GeoEntity< Entity > >, less_than_comparable< GeoEntity< Entity > >, less_than_comparable< GeoEntity< Entity >, size_type >, and Feel::Entity< ShapeE, T >.
|
class | boost::serialization::access |
|
|
typedef Entity | super |
|
typedef GeoEntity< Entity > | GeoShape |
|
typedef GeoEntity< Entity > | self_type |
|
typedef
super::topological_face_type | face_type |
|
typedef face_type | GeoBShape |
|
typedef
Entity::edge_permutation_type | edge_permutation_type |
|
typedef
Entity::face_permutation_type | face_permutation_type |
|
typedef Entity | convex_type |
|
static const size_type | Shape = super::Shape |
|
static const size_type | Geometry = super::Geometry |
|
static const uint16_type | nDim = super::nDim |
|
static const uint16_type | nOrder = super::nOrder |
|
static const uint16_type | nRealDim = super::nRealDim |
|
static const uint16_type | numVertices = super::numVertices |
|
static const uint16_type | numFaces = super::numFaces |
|
static const uint16_type | numGeometricFaces = super::numGeometricFaces |
|
static const uint16_type | numTopologicalFaces = super::numTopologicalFaces |
|
static const uint16_type | numEdges = super::numEdges |
|
static const uint16_type | numNormals = super::numNormals |
|
static const uint16_type | numPoints = super::numPoints |
|
static const uint16_type | nbPtsPerVertex = super::nbPtsPerVertex |
|
static const uint16_type | nbPtsPerEdge = super::nbPtsPerEdge |
|
static const uint16_type | nbPtsPerFace = super::nbPtsPerFace |
|
static const uint16_type | nbPtsPerVolume = super::nbPtsPerVolume |
|
static const bool | is_simplex = super::is_simplex |
|
static const bool | is_hypercube = super::is_hypercube |
|
template<typename Entity>
- Returns
true
if active, false
otherwise
- Note
- for now it is a dummy function that returns always true, will change when work on AMR starts
template<typename Entity>
add a new element to which the point belongs
template<typename Entity>
add a new ghost element to which the point belongs
template<typename Entity>
maximum dimension of the entity of the element touching the boundary
template<typename Entity>
- Returns
- the set of ids of elements whom the point belongs to
template<typename Entity>
- Returns
- the set of ids of ghost elements whom the point belongs to
template<typename Entity>
static uint16_type Feel::GeoEntity< Entity >::eToP |
( |
uint16_type const |
__localEdge, |
|
|
uint16_type const |
__point |
|
) |
| |
|
inlinestatic |
eToP(i,j) = localId of jth point on ith local edge
template<typename Entity>
static uint16_type Feel::GeoEntity< Entity >::fToE |
( |
uint16_type const |
__localFace, |
|
|
uint16_type const |
__edge |
|
) |
| |
|
inlinestatic |
fToE(i,j) = localId of jth edge on ith local face
template<typename Entity>
static uint16_type Feel::GeoEntity< Entity >::fToP |
( |
uint16_type const |
__localFace, |
|
|
uint16_type const |
__point |
|
) |
| |
|
inlinestatic |
fToP(i,j) = localId of jth point on ith local edge
template<typename Entity>
- Returns
- true if the entoty has the shape
__shape
, false otherwise
template<typename Entity>
- Returns
- the id of the entity in a partition pid
template<typename Entity>
- Returns
- idInOthersPartitions map
template<typename Entity>
- Returns
- idInOthersPartitions map
template<typename Entity>
- Returns
- true of the entity is a hexahedra
template<typename Entity>
- Returns
- true of the entity is a line
template<typename Entity>
- Returns
- true of the entity is a shape line
template<typename Entity>
- Returns
- true of the entity is a point
template<typename Entity>
- Returns
- true of the entity is a shape point
template<typename Entity>
- Returns
- true of the entity is a quadrangle
template<typename Entity>
- Returns
- true of the entity is a surface
template<typename Entity>
- Returns
- true of the entity is a tetrahedra shape
template<typename Entity>
- Returns
- true of the entity is a triangle shape
template<typename Entity>
- Returns
- true of the entity is a volume
template<typename Entity>
- Returns
- true if the shape is bilinear, false otherwise
template<typename Entity>
- Returns
true
if ghost cell, false
otherwise
template<typename Entity>
- Returns
- true if the entity is internal, false otherwise
template<typename Entity>
- Returns
- true if the shape is linear, false otherwise
template<typename Entity>
- Returns
- true if the element is linked to other partitions through one of more of its faces
template<typename Entity>
Tells if item is on the boundary
- Returns
- true if on boundary, false otherwise
template<typename Entity>
- Returns
- true if the shape is quadratic, false otherwise
template<typename Entity>
- Returns
- the measure of the entity
Implemented in Feel::GeoND< Dim, GEOSHAPE, T, POINTTYPE >, Feel::GeoND< Dim, GEOSHAPE, T, GeoElement0D< Dim, SubFaceOfNone, T > >, Feel::Geo0D< Dim, T >, and Feel::Geo0D< 3 >.
template<typename Entity>
number of edges on the reference shape
- Returns
- the number of edges on the reference shape
template<typename Entity>
std::vector<int> const& Feel::GeoEntity< Entity >::neighborPartitionIds |
( |
) | |
const |
|
inline |
- Returns
- the number of partition the element is linked to
template<typename Entity>
- Returns
- the number of partition the element is linked to
template<typename Entity>
number of faces on the reference shape
- Returns
- the number of edges on the reference shape
template<typename Entity>
number of faces on the reference shape
- Returns
- the number of edges on the reference shape
template<typename Entity>
number of normals on the reference shape
- Returns
- the number of normals on the reference shape
template<typename Entity>
number of points on the reference shape
- Returns
- the number of points on the reference shape
template<typename Entity>
constexpr uint16_type Feel::GeoEntity< Entity >::nTopologicalFaces |
( |
) | |
const |
|
inline |
number of topological faces on the reference shape
- Returns
- the number of topological faces on the reference shape
template<typename Entity>
- Returns
- the number of elements whom the point belongs to
template<typename Entity>
- Returns
- the number of ghost elements whom the point belongs to
template<typename Entity>
- Returns
- the number of partition the element is linked to
template<typename Entity>
- Returns
- the number of partition the element is linked to including the partition to which it belongs
template<typename Entity>
number of vertices on the reference shape
- Returns
- the number of vertices on the reference shape
template<typename Entity>
template<typename Entity>
- Returns
- the processor id of the entity
template<typename Entity>
- Returns
- the processor id of the entity
template<typename Entity>
the dimension of the reference shape
- Returns
- the dimension of the reference shape
template<typename Entity>
set id in a partition pid of the entity
template<typename Entity>
void Feel::GeoEntity< Entity >::setNeighborPartitionIds |
( |
std::vector< int > const & |
npids) | |
|
|
inline |
- Returns
- the number of partition the element is linked to
template<typename Entity>
void Feel::GeoEntity< Entity >::setNumberOfNeighborPartitions |
( |
uint16_type |
nep) | |
|
|
inline |
set the number of partition the element is linked to
template<typename Entity>
- Returns
- the number of partition the element is linked to including the partition to which it belongs
template<typename Entity>
set the boundary flag
- Parameters
-
b | true if the item is on the boundary, false otherwise |
template<typename Entity>
set the processor id of the entity &
- Parameters
-
template<typename Entity>
set the processor id of the entity &
- Parameters
-
The documentation for this class was generated from the following file: