32 #ifndef meshPhiCorrectInfo_H 33 #define meshPhiCorrectInfo_H 48 class meshPhiCorrectInfo;
49 Ostream&
operator<<(Ostream&,
const meshPhiCorrectInfo&);
50 Istream&
operator>>(Istream&, meshPhiCorrectInfo&);
90 internalFacePci_(internalFacePci),
91 patchFacePci_(patchFacePci),
113 void validateFace()
const;
116 void validateCell()
const;
151 template<
class TrackingData>
152 inline bool valid(TrackingData& td)
const;
156 template<
class TrackingData>
166 template<
class TrackingData>
170 const label patchFacei,
176 template<
class TrackingData>
180 const label thisCelli,
188 template<
class TrackingData>
193 const label neighbourCelli,
200 template<
class TrackingData>
211 template<
class TrackingData>
friend Istream & operator>>(Istream &, meshPhiCorrectInfo &)
Tracking data. Mostly just a collection of references to the.
friend Ostream & operator<<(Ostream &, const meshPhiCorrectInfo &)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool operator!=(const meshPhiCorrectInfo &) const
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
shape
Enumeration to define the mesh shape the info applies to.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
bool equal(const meshPhiCorrectInfo &, TrackingData &td) const
Test equality.
An ordered pair of two objects of type <T> with first() and second() elements.
Istream & operator>>(Istream &, directionInfo &)
bool updateCell(const fvMesh &mesh, const label thisCelli, const labelPair &neighbourPatchAndFacei, const meshPhiCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
void transform(const fvPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
bool updateFace(const fvMesh &mesh, const labelPair &thisPatchAndFacei, const label neighbourCelli, const meshPhiCorrectInfo &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
meshPhiCorrectInfo()
Construct null.
scalar deltaPhi() const
Return the flux correction.
bool operator==(const meshPhiCorrectInfo &) const
bool valid(TrackingData &td) const
Check whether the meshPhiCorrectInfo has been changed at all.
A cell is defined as a list of faces with extra functionality.
Mesh data needed to do the Finite Volume discretisation.
Ostream & operator<<(Ostream &, const ensightPart &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
scalar deltaDVdtError() const
Return the volume change rate error correction.
bool sameGeometry(const fvMesh &mesh, const meshPhiCorrectInfo &, const scalar, TrackingData &td) const
Check for identical geometrical data. Used for checking.