Geometry calculation scheme with explicit sync of face-geometry across processor patches. More...
Classes | |
class | transformOriented |
Transformation for oriented fields. More... | |
Public Member Functions | |
TypeName ("parallel") | |
Runtime type information. More... | |
parallelFvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
Construct from mesh. More... | |
virtual | ~parallelFvGeometryScheme ()=default |
Destructor. More... | |
const fvGeometryScheme & | geometry () const |
Construct underlying fvGeometryScheme. More... | |
virtual void | movePoints () |
Do what is necessary if the mesh has moved. More... | |
virtual void | updateMesh (const mapPolyMesh &mpm) |
Update mesh for topology changes. More... | |
virtual tmp< surfaceScalarField > | weights () const |
Return linear difference weighting factors. More... | |
virtual tmp< surfaceScalarField > | deltaCoeffs () const |
Return cell-centre difference coefficients. More... | |
virtual tmp< surfaceScalarField > | nonOrthDeltaCoeffs () const |
Return non-orthogonal cell-centre difference coefficients. More... | |
virtual tmp< surfaceVectorField > | nonOrthCorrectionVectors () const |
Return non-orthogonality correction vectors. More... | |
Public Member Functions inherited from fvGeometryScheme | |
TypeName ("fvGeometryScheme") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, fvGeometryScheme, dict,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
fvGeometryScheme (const fvMesh &mesh, const dictionary &dict) | |
Construct from mesh. More... | |
virtual | ~fvGeometryScheme ()=default |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
Public Member Functions inherited from refCount | |
constexpr | refCount () noexcept |
Default construct, initializing count to 0. More... | |
int | use_count () const noexcept |
Return the current reference count. More... | |
bool | unique () const noexcept |
Return true if the reference count is zero. More... | |
void | operator++ () noexcept |
Increment the reference count. More... | |
void | operator++ (int) noexcept |
Increment the reference count. More... | |
void | operator-- () noexcept |
Decrement the reference count. More... | |
void | operator-- (int) noexcept |
Decrement the reference count. More... | |
Protected Attributes | |
dictionary | dict_ |
Dictionary for underlying scheme. More... | |
tmp< fvGeometryScheme > | geometryPtr_ |
Demand-driven construction of underlying scheme. More... | |
Protected Attributes inherited from fvGeometryScheme | |
const fvMesh & | mesh_ |
Hold reference to mesh. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from fvGeometryScheme | |
static tmp< fvGeometryScheme > | New (const fvMesh &mesh, const dictionary &dict, const word &defaultScheme) |
Return new tmp interpolation scheme. More... | |
Protected Member Functions inherited from fvGeometryScheme | |
bool | setMeshPhi () const |
Set the mesh motion flux. More... | |
Geometry calculation scheme with explicit sync of face-geometry across processor patches.
geometry { type parallel; // Optional underlying geometry scheme. (default is basic) geometry { type solidBody; } }
The default behaviour will print the total number of adjusted face and cell properties:
parallelFvGeometryScheme::movePoints() : adjusted geometry of faces:113 of cells:54
In addition a warning will be printed if an internal face gives a different result.
Definition at line 81 of file parallelFvGeometryScheme.H.
parallelFvGeometryScheme | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from mesh.
Definition at line 217 of file parallelFvGeometryScheme.C.
|
virtualdefault |
Destructor.
TypeName | ( | "parallel" | ) |
Runtime type information.
const Foam::fvGeometryScheme & geometry | ( | ) | const |
Construct underlying fvGeometryScheme.
Definition at line 229 of file parallelFvGeometryScheme.C.
References Foam::ensightOutput::debug, Foam::endl(), fvGeometryScheme::New(), and Foam::Pout.
|
virtual |
Do what is necessary if the mesh has moved.
Reimplemented from fvGeometryScheme.
Definition at line 250 of file parallelFvGeometryScheme.C.
References Foam::ensightOutput::debug, Foam::endl(), and Foam::Pout.
|
virtual |
Update mesh for topology changes.
Reimplemented from fvGeometryScheme.
Definition at line 266 of file parallelFvGeometryScheme.C.
|
virtual |
Return linear difference weighting factors.
Implements fvGeometryScheme.
Definition at line 273 of file parallelFvGeometryScheme.C.
|
virtual |
Return cell-centre difference coefficients.
Implements fvGeometryScheme.
Definition at line 280 of file parallelFvGeometryScheme.C.
|
virtual |
Return non-orthogonal cell-centre difference coefficients.
Implements fvGeometryScheme.
Definition at line 287 of file parallelFvGeometryScheme.C.
|
virtual |
Return non-orthogonality correction vectors.
Implements fvGeometryScheme.
Definition at line 294 of file parallelFvGeometryScheme.C.
|
protected |
Dictionary for underlying scheme.
Definition at line 92 of file parallelFvGeometryScheme.H.
|
mutableprotected |
Demand-driven construction of underlying scheme.
Definition at line 97 of file parallelFvGeometryScheme.H.