Template invariant parts for fvPatchField. More...
Public Member Functions | |
TypeName ("fvPatchField") | |
Runtime type information. More... | |
fvPatchFieldBase (const fvPatch &p) | |
Construct from patch. More... | |
fvPatchFieldBase (const fvPatch &p, const word &patchType) | |
Construct from patch and patch type. More... | |
fvPatchFieldBase (const fvPatch &p, const dictionary &dict) | |
Construct from patch and dictionary. More... | |
fvPatchFieldBase (const fvPatchFieldBase &rhs, const fvPatch &p) | |
Copy construct with new patch. More... | |
fvPatchFieldBase (const fvPatchFieldBase &rhs) | |
Copy construct. More... | |
virtual | ~fvPatchFieldBase ()=default |
Destructor. More... | |
const objectRegistry & | db () const |
The associated objectRegistry. More... | |
const fvPatch & | patch () const noexcept |
Return the patch. More... | |
const word & | patchType () const noexcept |
The optional patch type. More... | |
word & | patchType () noexcept |
The optional patch type. More... | |
bool | updated () const noexcept |
True if the boundary condition has already been updated. More... | |
bool | manipulatedMatrix () const noexcept |
True if the matrix has already been manipulated. More... | |
bool | useImplicit () const noexcept |
Use implicit formulation for coupled patches only. More... | |
bool | useImplicit (bool on) noexcept |
Set useImplicit on/off. More... | |
void | checkPatch (const fvPatchFieldBase &rhs) const |
Check that patches are identical. More... | |
Static Public Attributes | |
static int | disallowGenericPatchField |
Debug switch to disallow the use of generic fvPatchField. More... | |
Protected Member Functions | |
virtual void | readDict (const dictionary &dict) |
Read dictionary entries. More... | |
void | setUpdated (bool state) noexcept |
Set updated state. More... | |
void | setManipulated (bool state) noexcept |
Set matrix manipulated state. More... | |
Template invariant parts for fvPatchField.
Definition at line 77 of file fvPatchField.H.
|
explicit |
Construct from patch.
Definition at line 39 of file fvPatchFieldBase.C.
|
explicit |
Construct from patch and patch type.
Definition at line 50 of file fvPatchFieldBase.C.
fvPatchFieldBase | ( | const fvPatch & | p, |
const dictionary & | dict | ||
) |
Construct from patch and dictionary.
Definition at line 62 of file fvPatchFieldBase.C.
References dict, and fvPatchFieldBase::readDict().
fvPatchFieldBase | ( | const fvPatchFieldBase & | rhs, |
const fvPatch & | p | ||
) |
Copy construct with new patch.
Definition at line 74 of file fvPatchFieldBase.C.
fvPatchFieldBase | ( | const fvPatchFieldBase & | rhs | ) |
Copy construct.
Definition at line 87 of file fvPatchFieldBase.C.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Read dictionary entries.
Useful when initially constructed without a dictionary
Definition at line 99 of file fvPatchFieldBase.C.
References dict, keyType::LITERAL, and dictionary::readIfPresent().
Referenced by fvPatchFieldBase::fvPatchFieldBase().
|
inlineprotectednoexcept |
Set updated state.
Definition at line 127 of file fvPatchField.H.
|
inlineprotectednoexcept |
Set matrix manipulated state.
Definition at line 135 of file fvPatchField.H.
TypeName | ( | "fvPatchField" | ) |
Runtime type information.
const Foam::objectRegistry & db | ( | ) | const |
The associated objectRegistry.
Definition at line 106 of file fvPatchFieldBase.C.
Referenced by basicThermo::lookupThermo(), enthalpySorptionFvPatchScalarField::patchSource(), vibrationShellFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), prghPermeableAlphaTotalPressureFvPatchScalarField::updateCoeffs(), velocityFilmShellFvPatchVectorField::updateCoeffs(), and porousBafflePressureFvPatchField< Type >::updateCoeffs().
|
inlinenoexcept |
Return the patch.
Definition at line 199 of file fvPatchField.H.
Referenced by fieldExtents::calcFieldExtents(), omegaWallFunctionFvPatchScalarField::calculateTurbulenceFields(), epsilonWallFunctionFvPatchScalarField::calculateTurbulenceFields(), ReynoldsAnalogy::Cf(), extendedCellToFaceStencil::collectData(), reconstructedDistanceFunction::constructRDF(), contactAngleForce::correct(), Foam::evaluateConstraintTypes(), meshToMesh::mapSrcToTgt(), meshToMesh::mapTgtToSrc(), fvPatchField< scalar >::NewCalculatedType(), Foam::oversetAdjustPhi(), enthalpySorptionFvPatchScalarField::patchSource(), energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), waWallFunctionFvPatchScalarField::updateCoeffs(), vibrationShellFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), thermalShellFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), velocityFilmShellFvPatchVectorField::updateCoeffs(), porousBafflePressureFvPatchField< Type >::updateCoeffs(), and regionSizeDistribution::write().
|
inlinenoexcept |
The optional patch type.
Definition at line 207 of file fvPatchField.H.
Referenced by uniformInletOutletFvPatchField< Type >::uniformInletOutletFvPatchField().
|
inlinenoexcept |
The optional patch type.
Definition at line 215 of file fvPatchField.H.
|
inlinenoexcept |
True if the boundary condition has already been updated.
Definition at line 226 of file fvPatchField.H.
Referenced by energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), waWallFunctionFvPatchScalarField::updateCoeffs(), vibrationShellFvPatchScalarField::updateCoeffs(), totalFlowRateAdvectiveDiffusiveFvPatchScalarField::updateCoeffs(), thermalShellFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), prghPermeableAlphaTotalPressureFvPatchScalarField::updateCoeffs(), velocityFilmShellFvPatchVectorField::updateCoeffs(), and porousBafflePressureFvPatchField< Type >::updateCoeffs().
|
inlinenoexcept |
True if the matrix has already been manipulated.
Definition at line 234 of file fvPatchField.H.
|
inlinenoexcept |
Use implicit formulation for coupled patches only.
Definition at line 242 of file fvPatchField.H.
Referenced by lduPrimitiveMeshAssembly::update().
|
inlinenoexcept |
void checkPatch | ( | const fvPatchFieldBase & | rhs | ) | const |
Check that patches are identical.
Definition at line 112 of file fvPatchFieldBase.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
static |
Debug switch to disallow the use of generic fvPatchField.
Definition at line 145 of file fvPatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.