Class CellFace
Defined in File cell.h
Class Documentation
-
class CellFace
In this paradigm a face is an object which largely is considered to be planar (meaning all the vertices lay in the same plane).
Public Functions
-
bool IsNeighborLocal(const MeshContinuum *grid) const
Determines the neighbor’s partition and whether it’s local or not.
-
int GetNeighborPartitionID(const MeshContinuum *grid) const
Determines the neighbor’s partition.
-
uint64_t GetNeighborLocalID(const MeshContinuum *grid) const
Determines the neighbor’s local id.
-
int GetNeighborAdjacentFaceIndex(const MeshContinuum *grid) const
Determines the neighbor’s associated face.
-
void ComputeGeometricInfo(const MeshContinuum *grid, const Cell &cell)
Computes the geometric info on the face.
-
std::string ToString() const
Provides string information of the face.
-
void ComputeGeometricInfo(const MeshContinuum *grid, const Cell &cell, unsigned int f)
Public Members
-
bool has_neighbor = false
Flag indicating whether face has a neighbor.
-
uint64_t neighbor_id = std::numeric_limits<uint64_t>::max()
If face has neighbor, contains the global_id, otherwise, contains boundary_id.
-
double area = 0.0
The area of the face.
-
std::vector<uint64_t> vertex_ids
A list of the vertices.
-
bool IsNeighborLocal(const MeshContinuum *grid) const