Template invariant parts for fvsPatchField. More...
Public Member Functions | |
TypeName ("fvsPatchField") | |
Runtime type information. More... | |
fvsPatchFieldBase (const fvPatch &p) | |
Construct from patch. More... | |
fvsPatchFieldBase (const fvPatch &p, const dictionary &dict) | |
Construct from patch and dictionary (unused) More... | |
fvsPatchFieldBase (const fvsPatchFieldBase &rhs, const fvPatch &p) | |
Copy construct with new patch. More... | |
fvsPatchFieldBase (const fvsPatchFieldBase &rhs) | |
Copy construct. More... | |
virtual | ~fvsPatchFieldBase ()=default |
Destructor. More... | |
virtual bool | fixesValue () const |
True if the patch field fixes a value. More... | |
virtual bool | coupled () const |
True if the patch field is coupled. More... | |
const objectRegistry & | db () const |
The associated objectRegistry. More... | |
const fvPatch & | patch () const noexcept |
Return the patch. More... | |
bool | updated () const noexcept |
True if the boundary condition has already been updated. This is always true for fvsPatchField. More... | |
bool | manipulatedMatrix () const noexcept |
True if the matrix has already been manipulated. More... | |
void | checkPatch (const fvsPatchFieldBase &rhs) const |
Check that patches are identical. More... | |
Static Public Member Functions | |
static const word & | emptyType () noexcept |
The type name for empty patch fields. More... | |
static const word & | calculatedType () noexcept |
The type name for calculated patch fields. More... | |
Static Public Attributes | |
static int | disallowGenericPatchField |
Debug switch to disallow the use of generic fvsPatchField. More... | |
Protected Member Functions | |
virtual void | readDict (const dictionary &dict) |
Read dictionary entries. More... | |
void | setUpdated (bool state) noexcept |
Set updated state. This is a no-op for fvsPatchField. More... | |
void | setManipulated (bool state) noexcept |
Set matrix manipulated state. This is a no-op for fvsPatchField. More... | |
Template invariant parts for fvsPatchField.
Definition at line 74 of file fvsPatchField.H.
|
explicit |
Construct from patch.
Definition at line 39 of file fvsPatchFieldBase.C.
fvsPatchFieldBase | ( | const fvPatch & | p, |
const dictionary & | dict | ||
) |
Construct from patch and dictionary (unused)
Definition at line 46 of file fvsPatchFieldBase.C.
fvsPatchFieldBase | ( | const fvsPatchFieldBase & | rhs, |
const fvPatch & | p | ||
) |
Copy construct with new patch.
Definition at line 56 of file fvsPatchFieldBase.C.
fvsPatchFieldBase | ( | const fvsPatchFieldBase & | rhs | ) |
Copy construct.
Definition at line 65 of file fvsPatchFieldBase.C.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Read dictionary entries.
Useful when initially constructed without a dictionary
Definition at line 73 of file fvsPatchFieldBase.C.
|
inlineprotectednoexcept |
Set updated state. This is a no-op for fvsPatchField.
Definition at line 97 of file fvsPatchField.H.
|
inlineprotectednoexcept |
Set matrix manipulated state. This is a no-op for fvsPatchField.
Definition at line 103 of file fvsPatchField.H.
TypeName | ( | "fvsPatchField" | ) |
Runtime type information.
|
inlinestaticnoexcept |
The type name for empty
patch fields.
Definition at line 154 of file fvsPatchField.H.
References Foam::fieldTypes::emptyType.
|
inlinestaticnoexcept |
The type name for calculated
patch fields.
Definition at line 162 of file fvsPatchField.H.
References Foam::fieldTypes::calculatedType.
Referenced by meshRefinement::appendPatch().
|
inlinevirtual |
True if the patch field fixes a value.
Needed to check if a level has to be specified while solving Poissons equations.
Reimplemented in slicedFvsPatchField< Type >, fixedValueFvsPatchField< Type >, and calculatedFvsPatchField< Type >.
Definition at line 178 of file fvsPatchField.H.
|
inlinevirtual |
True if the patch field is coupled.
Reimplemented in processorCyclicFvsPatchField< Type >, processorFvsPatchField< Type >, cyclicACMIFvsPatchField< Type >, cyclicAMIFvsPatchField< Type >, and coupledFvsPatchField< Type >.
Definition at line 186 of file fvsPatchField.H.
Referenced by Foam::adjustPhi(), CentredFitSnGradData< Polynomial >::calcFit(), phaseModel::correctInflowOutflow(), pointLinear< Type >::correction(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), linearUpwindNormal< Type >::correction(), weightedFlux< Type >::interpolate(), Foam::MULES::limit(), basicFvGeometryScheme::nonOrthCorrectionVectors(), multiphaseSystem::solveAlphas(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::solveYi(), extendedUpwindCellToFaceStencil::weightedSum(), and extendedCellToFaceStencil::weightedSum().
const Foam::objectRegistry & db | ( | ) | const |
The associated objectRegistry.
Definition at line 77 of file fvsPatchFieldBase.C.
References objectRegistry::thisDb().
|
inlinenoexcept |
Return the patch.
Definition at line 202 of file fvsPatchField.H.
Referenced by curvatureSeparation::calcCosAngle(), CentredFitSnGradData< Polynomial >::calcFit(), extendedFaceToCellStencil::collectData(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), dynamicRefineFvMesh::mapFields(), fvMeshAdder::MapSurfaceField(), fvsPatchField< Type >::NewCalculatedType(), basicFvGeometryScheme::nonOrthCorrectionVectors(), basicFvGeometryScheme::nonOrthDeltaCoeffs(), fvMeshDistribute::testField(), extendedUpwindCellToFaceStencil::weightedSum(), and extendedCellToFaceStencil::weightedSum().
|
inlinenoexcept |
True if the boundary condition has already been updated. This is always true for fvsPatchField.
Definition at line 214 of file fvsPatchField.H.
|
inlinenoexcept |
True if the matrix has already been manipulated.
Definition at line 222 of file fvsPatchField.H.
void checkPatch | ( | const fvsPatchFieldBase & | rhs | ) | const |
Check that patches are identical.
Definition at line 83 of file fvsPatchFieldBase.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by fvsPatchField< Type >::check(), fvsPatchField< Type >::operator*=(), fvsPatchField< Type >::operator+=(), fvsPatchField< Type >::operator-=(), fvsPatchField< Type >::operator/=(), and fvsPatchField< Type >::operator=().
|
static |
Debug switch to disallow the use of generic fvsPatchField.
Definition at line 112 of file fvsPatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.