#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 | |
void | setMomentsToRegular (const Real &a_dx) |
void | spout () |
void | setNormalizedStuff (const Real &a_dx) |
once the moments are set, this sets volfrac, areafrac, centroid... | |
Static Public Member Functions | |
static int | index (int a_idir, Side::LoHiSide a_side) |
return the index into the arc vectors | |
Public Attributes | |
IntVect | m_cell |
Real | m_volFrac |
data for irregular nodes | |
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 | |
IndMomSpaceDim | m_EBMoments |
the normal*moment at the irregular face associated with the monomial with the input exponents | |
IndMomSpaceDim | m_normalPartialDeriv [SpaceDim] |
IndMomSDMinOne | m_faceMoments [2 *SpaceDim] |
IrregNode::IrregNode | ( | ) |
IrregNode::~IrregNode | ( | ) |
static int IrregNode::index | ( | int | a_idir, | |
Side::LoHiSide | a_side | |||
) | [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 | ) |
void IrregNode::spout | ( | ) | [inline] |
References m_EBMoments, m_faceMoments, m_volumeMoments, pout(), SpaceDim, and IndexedMoments< Dim, P >::spout().
void IrregNode::setNormalizedStuff | ( | const Real & | a_dx | ) |
once the moments are set, this sets volfrac, areafrac, centroid...
data for irregular nodes
each vof has a unique index in the cell
Vector<int> IrregNode::m_arc[2 *SpaceDim] |
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.
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)
Referenced by spout().
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)
Referenced by spout().
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)
Referenced by spout().