Chi-Tech
|
#include <cell.h>
Public Member Functions | |
bool | IsNeighborLocal (const chi_mesh::MeshContinuum &grid) const |
int | GetNeighborPartitionID (const chi_mesh::MeshContinuum &grid) const |
uint64_t | GetNeighborLocalID (const chi_mesh::MeshContinuum &grid) const |
int | GetNeighborAssociatedFace (const chi_mesh::MeshContinuum &grid) const |
double | ComputeFaceArea (const chi_mesh::MeshContinuum &grid) const |
chi_data_types::ByteArray | Serialize () const |
std::string | ToString () const |
void | RecomputeCentroid (const chi_mesh::MeshContinuum &grid) |
Static Public Member Functions | |
static CellFace | DeSerialize (const chi_data_types::ByteArray &raw, size_t &address) |
Data Fields | |
std::vector< uint64_t > | vertex_ids_ |
Normal | normal_ |
A list of the vertices. More... | |
Vertex | centroid_ |
The face centroid. More... | |
bool | has_neighbor_ =false |
Flag indicating whether face has a neighbor. More... | |
uint64_t | neighbor_id_ =0 |
Otherwise contains boundary_id. More... | |
In this paradigm a face is an object which largely is considered to be planar (meaning all the vertices lay in the same plane).
double chi_mesh::CellFace::ComputeFaceArea | ( | const chi_mesh::MeshContinuum & | grid | ) | const |
|
static |
int chi_mesh::CellFace::GetNeighborAssociatedFace | ( | const chi_mesh::MeshContinuum & | grid | ) | const |
uint64_t chi_mesh::CellFace::GetNeighborLocalID | ( | const chi_mesh::MeshContinuum & | grid | ) | const |
int chi_mesh::CellFace::GetNeighborPartitionID | ( | const chi_mesh::MeshContinuum & | grid | ) | const |
bool chi_mesh::CellFace::IsNeighborLocal | ( | const chi_mesh::MeshContinuum & | grid | ) | const |
void chi_mesh::CellFace::RecomputeCentroid | ( | const chi_mesh::MeshContinuum & | grid | ) |
chi_data_types::ByteArray chi_mesh::CellFace::Serialize | ( | ) | const |
std::string chi_mesh::CellFace::ToString | ( | ) | const |
bool chi_mesh::CellFace::has_neighbor_ =false |
uint64_t chi_mesh::CellFace::neighbor_id_ =0 |
Normal chi_mesh::CellFace::normal_ |