Chombo + EB
3.2
|
#include <IrregNode.H>
Public Member Functions | |
IrregNode () | |
~IrregNode () | |
void | makeRegular (const IntVect &iv, const Real &a_dx, const ProblemDomain &a_domain) |
void | faceReserve (int location, int size) |
void | setMomentsToZero () |
for covered cells More... | |
void | setMomentsToRegular (const Real &a_dx) |
void | spout () |
void | setNormalizedStuff (const Real &a_dx) |
once the moments are set, this sets volfrac, areafrac, centroid... More... | |
Static Public Member Functions | |
static int | index (int a_idir, Side::LoHiSide a_side) |
return the index into the arc vectors More... | |
Public Attributes | |
IntVect | m_cell |
Real | m_volFrac |
data for irregular nodes More... | |
int | m_cellIndex |
RealVect | m_volCentroid |
RealVect | m_bndryCentroid |
Vector< int > | m_arc [2 *SpaceDim] |
Vector< Real > | m_areaFrac [2 *SpaceDim] |
Vector< RealVect > | m_faceCentroid [2 *SpaceDim] |
IndMomSpaceDim | m_volumeMoments |
data for irregular nodes More... | |
IndMomSpaceDim | m_EBMoments |
the normal*moment at the irregular face associated with the monomial with the input exponents More... | |
IndMomSpaceDim | m_normalPartialDeriv [SpaceDim] |
IndMomSDMinOne | m_faceMoments [2 *SpaceDim] |
Node for construction of geometric information.
IrregNode::IrregNode | ( | ) |
IrregNode::~IrregNode | ( | ) |
|
static |
return the index into the arc vectors
void IrregNode::makeRegular | ( | const IntVect & | iv, |
const Real & | a_dx, | ||
const ProblemDomain & | a_domain | ||
) |
helper function for construction. makes irregular cell that has connectivitity and values like a regular cell, this a person can modify as the irregular cell requires. saves some coding in some cases
void IrregNode::faceReserve | ( | int | location, |
int | size | ||
) |
void IrregNode::setMomentsToZero | ( | ) |
for covered cells
void IrregNode::setMomentsToRegular | ( | const Real & | a_dx | ) |
|
inline |
References operator<<(), pout(), setNormalizedStuff(), SpaceDim, and IndexedMoments< Dim, P >::spout().
void IrregNode::setNormalizedStuff | ( | const Real & | a_dx | ) |
once the moments are set, this sets volfrac, areafrac, centroid...
Referenced by spout().
IntVect IrregNode::m_cell |
Real IrregNode::m_volFrac |
data for irregular nodes
int IrregNode::m_cellIndex |
each vof has a unique index in the cell
RealVect IrregNode::m_volCentroid |
RealVect IrregNode::m_bndryCentroid |
Indicies into a_nodes to show connectivity. If the arc is to an irregular cell, the index is the unique index of the vof in the cell. For arcs to regular cells, the arc = -2 If the arc is to the domain boundary, arc = -1.
IndMomSpaceDim IrregNode::m_volumeMoments |
data for irregular nodes
the moment at the VoF associated with the monomial with the input exponents Given VoF variables x, y, z, p = mono(0), q = mono(1), r = mono(2), returns integral_over_VoF(x^p y^q z^r dV)
IndMomSpaceDim IrregNode::m_EBMoments |
the normal*moment at the irregular face associated with the monomial with the input exponents
Given VoF variables x, y, z, p = mono(0), q = mono(1), r = mono(2), returns integral_over_irregular_area((x^p y^q z^r)*n_i dA)the moment at the irregular face associated with the monomial with the input exponents Given VoF variables x, y, z, p = mono(0), q = mono(1), r = mono(2), returns integral_over_irregular_area((x^p y^q z^r) dA)
IndMomSpaceDim IrregNode::m_normalPartialDeriv[SpaceDim] |
IndMomSDMinOne IrregNode::m_faceMoments[2 *SpaceDim] |
face centered moments the moment at the face associated with the monomial with the input exponents Given face variables x, y, p = mono(0), q = mono(1) returns integral_over_face_area((x^p y^q ) dA)