Chi-Tech
|
#include <cell.h>
Public Member Functions | |
Cell (const Cell &other) | |
Cell (Cell &&other) noexcept | |
Cell (CellType in_cell_type, CellType in_cell_sub_type) | |
Cell & | operator= (const Cell &other) |
virtual | ~Cell ()=default |
CellType | Type () const |
CellType | SubType () const |
chi_data_types::ByteArray | Serialize () const |
std::string | ToString () const |
void | RecomputeCentroidsAndNormals (const chi_mesh::MeshContinuum &grid) |
Static Public Member Functions | |
static Cell | DeSerialize (const chi_data_types::ByteArray &raw, size_t &address) |
Data Fields | |
uint64_t | global_id_ = 0 |
uint64_t | local_id_ = 0 |
uint64_t | partition_id_ = 0 |
Vertex | centroid_ |
int | material_id_ = -1 |
std::vector< uint64_t > | vertex_ids_ |
std::vector< CellFace > | faces_ |
Private Attributes | |
const CellType | cell_type_ |
Primary type, i.e. SLAB, POLYGON, POLYHEDRON. More... | |
const CellType | cell_sub_type_ |
Sub-type i.e. SLAB, QUADRILATERAL, HEXAHEDRON. More... | |
|
noexcept |
|
virtualdefault |
|
static |
chi_mesh::Cell & chi_mesh::Cell::operator= | ( | const Cell & | other | ) |
void chi_mesh::Cell::RecomputeCentroidsAndNormals | ( | const chi_mesh::MeshContinuum & | grid | ) |
chi_data_types::ByteArray chi_mesh::Cell::Serialize | ( | ) | const |
std::string chi_mesh::Cell::ToString | ( | ) | const |
|
private |
|
private |