Chi-Tech
chi_mesh::PolyFace Struct Reference

#include <chi_meshface.h>

Public Member Functions

 PolyFace ()
 
 ~PolyFace ()
 

Data Fields

std::vector< int > v_indices
 
std::vector< int * > edges
 
int face_indices [3]
 
chi_mesh::Normal geometric_normal
 
chi_mesh::Vertex face_centroid
 
bool invalidated
 

Detailed Description

Data structure for a polygon face.

edges
An array of 4 integers.
[0] = Vertex index of edge start.
[1] = Vertex index of edge end.
[2] = Index of the face adjoining this edge (not the current face). -1 if not connected to anything,-1*boundary_index if connected to a boundary.
[3] = Edge number of adjoining face. -1 if not connected to anything. 0 if a boundary.


face_indices
[0] = Index of the adjoining cell. -1 if not connected to anything. -1*boundary_index if connected to a boundary.
[1] = Face number of adjoining cell. -1 if not connected to anything. 0 if a boundary.
[2] = Partition ID of adjecent cell.

Definition at line 89 of file chi_meshface.h.

Constructor & Destructor Documentation

◆ PolyFace()

chi_mesh::PolyFace::PolyFace ( )
inline

Definition at line 100 of file chi_meshface.h.

◆ ~PolyFace()

chi_mesh::PolyFace::~PolyFace ( )
inline

Definition at line 105 of file chi_meshface.h.

Field Documentation

◆ edges

std::vector<int*> chi_mesh::PolyFace::edges

Definition at line 92 of file chi_meshface.h.

◆ face_centroid

chi_mesh::Vertex chi_mesh::PolyFace::face_centroid

Definition at line 96 of file chi_meshface.h.

◆ face_indices

int chi_mesh::PolyFace::face_indices[3]

Definition at line 93 of file chi_meshface.h.

◆ geometric_normal

chi_mesh::Normal chi_mesh::PolyFace::geometric_normal

Definition at line 95 of file chi_meshface.h.

◆ invalidated

bool chi_mesh::PolyFace::invalidated

Definition at line 98 of file chi_meshface.h.

◆ v_indices

std::vector<int> chi_mesh::PolyFace::v_indices

Definition at line 91 of file chi_meshface.h.


The documentation for this struct was generated from the following file: