Feel++
0.91.4
|
base class for all geometric entities More...
#include <geoentity.hpp>
Classes | |
struct | reference_convex |
Public Member Functions | |
Constructors, destructor | |
GeoEntity () | |
GeoEntity (size_type i, size_type geometry=Geometry, size_type shape=Shape, size_type context=MESH_ENTITY_INTERNAL) | |
GeoEntity (GeoEntity const &__me) | |
GeoEntity & | operator= (GeoEntity const &__me) |
virtual | ~GeoEntity () |
Operator overloads | |
bool | operator== (GeoEntity const &e) const |
bool | operator< (GeoEntity const &e) const |
bool | operator< (size_type __i) const |
Accessors | |
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 |
virtual double | measure () const =0 |
Mutators | |
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) |
Typedefs | |
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 |
Methods | |
self_type & | addElement (size_type e) |
size_type | numberOfElements () const |
std::set< size_type > const & | elements () const |
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) |
base class for all geometric entities
|
inline |
true
if active, false
otherwise
|
inline |
add a new element to which the point belongs
|
inline |
|
inlinestatic |
eToP(i,j) = localId of jth point on ith local edge
|
inlinestatic |
fToE(i,j) = localId of jth edge on ith local face
|
inlinestatic |
fToP(i,j) = localId of jth point on ith local edge
|
inline |
__shape
, false otherwise
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
true
if ghost cell, false
otherwise
|
inline |
|
inline |
|
inline |
|
inline |
Tells if item is on the boundary
|
inline |
|
pure virtual |
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 >.
|
inline |
number of edges on the reference shape
|
inline |
|
inline |
number of faces on the reference shape
|
inline |
number of faces on the reference shape
|
inline |
number of normals on the reference shape
|
inline |
number of points on the reference shape
|
inline |
|
inline |
|
inline |
|
inline |
number of vertices on the reference shape
|
inline |
|
inline |
|
inline |
the dimension of the reference shape
|
inline |
set id in a partition pid of the entity
|
inline |
|
inline |
set the number of partition the element is linked to
|
inline |
|
inline |
set the boundary flag
b | true if the item is on the boundary, false otherwise |
|
inline |
set the processor id of the entity &
pid | processor id |
|
inline |
set the processor id of the entity &
pid | processor id |