An abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used. More...
Public Types | |
typedef fvPatch | Patch |
Public Member Functions | |
TypeName ("fvsPatchField") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, fvsPatchField, patch,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF),(p, iF)) | |
declareRunTimeSelectionTable (tmp, fvsPatchField, patchMapper,(const fvsPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const fvPatchFieldMapper &m),(dynamic_cast< const fvsPatchFieldType & >(ptf), p, iF, m)) | |
declareRunTimeSelectionTable (tmp, fvsPatchField, dictionary,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const dictionary &dict),(p, iF, dict)) | |
fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &) | |
Construct from patch and internal field. More... | |
fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const Field< Type > &) | |
Construct from patch and internal field and patch field. More... | |
fvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
fvsPatchField (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping the given fvsPatchField onto a new patch. More... | |
fvsPatchField (const fvsPatchField< Type > &) | |
Construct as copy. More... | |
virtual tmp< fvsPatchField< Type > > | clone () const |
Construct and return a clone. More... | |
fvsPatchField (const fvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvsPatchField< Type > > | clone (const DimensionedField< Type, surfaceMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
virtual | ~fvsPatchField () |
Destructor. More... | |
const objectRegistry & | db () const |
Return local objectRegistry. More... | |
const fvPatch & | patch () const |
Return patch. More... | |
const DimensionedField< Type, surfaceMesh > & | dimensionedInternalField () const |
Return dimensioned internal field reference. More... | |
const Field< Type > & | internalField () const |
Return internal field reference. More... | |
virtual bool | fixesValue () const |
Return true if this patch field fixes a value. More... | |
virtual bool | coupled () const |
Return true if this patch field is coupled. More... | |
virtual void | autoMap (const fvPatchFieldMapper &) |
Map (and resize as needed) from self given a mapping object. More... | |
virtual void | rmap (const fvsPatchField< Type > &, const labelList &) |
Reverse map the given fvsPatchField onto this fvsPatchField. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
void | check (const fvsPatchField< Type > &) const |
Check fvsPatchField<Type> against given fvsPatchField<Type> More... | |
virtual void | operator= (const UList< Type > &) |
virtual void | operator= (const fvsPatchField< Type > &) |
virtual void | operator+= (const fvsPatchField< Type > &) |
virtual void | operator-= (const fvsPatchField< Type > &) |
virtual void | operator*= (const fvsPatchField< scalar > &) |
virtual void | operator/= (const fvsPatchField< scalar > &) |
virtual void | operator+= (const Field< Type > &) |
virtual void | operator-= (const Field< Type > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator= (const Type &) |
virtual void | operator+= (const Type &) |
virtual void | operator-= (const Type &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const scalar) |
virtual void | operator== (const fvsPatchField< Type > &) |
virtual void | operator== (const Field< Type > &) |
virtual void | operator== (const Type &) |
template<class Type > | |
tmp< fvsPatchField< Type > > | NewCalculatedType (const fvPatch &p) |
Static Public Member Functions | |
static tmp< fvsPatchField< Type > > | New (const word &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &) |
Return a pointer to a new patchField created on freestore given. More... | |
static tmp< fvsPatchField< Type > > | New (const word &, const word &actualPatchType, const fvPatch &, const DimensionedField< Type, surfaceMesh > &) |
Return a pointer to a new patchField created on freestore given. More... | |
static tmp< fvsPatchField< Type > > | New (const fvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &) |
Return a pointer to a new patchField created on freestore from. More... | |
static tmp< fvsPatchField< Type > > | New (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &) |
Return a pointer to a new patchField created on freestore. More... | |
static tmp< fvsPatchField< Type > > | NewCalculatedType (const fvPatch &) |
Return a pointer to a new calculatedFvsPatchField created on. More... | |
template<class Type2 > | |
static tmp< fvsPatchField< Type > > | NewCalculatedType (const fvsPatchField< Type2 > &) |
Return a pointer to a new calculatedFvsPatchField created on. More... | |
static const word & | calculatedType () |
Return the type of the calculated for of fvsPatchField. More... | |
Static Public Attributes | |
static int | disallowGenericFvsPatchField |
Debug switch to disallow the use of genericFvsPatchField. More... | |
Private Attributes | |
const fvPatch & | patch_ |
Reference to patch. More... | |
const DimensionedField< Type, surfaceMesh > & | internalField_ |
Reference to internal field. More... | |
Friends | |
Ostream & | operator (Ostream &, const fvsPatchField< Type > &) |
An abstract base class with a fat-interface to all derived classes covering all possible ways in which they might be used.
The first level of derivation is to basic patchFields which cover zero-gradient, fixed-gradient, fixed-value and mixed conditions.
The next level of derivation covers all the specialised typed with specific evaluation proceedures, particularly with respect to specific fields.
Definition at line 65 of file fvsPatchField.H.
Definition at line 91 of file fvsPatchField.H.
fvsPatchField | ( | const fvPatch & | , |
const DimensionedField< Type, surfaceMesh > & | |||
) |
Construct from patch and internal field.
fvsPatchField | ( | const fvPatch & | , |
const DimensionedField< Type, surfaceMesh > & | , | ||
const Field< Type > & | |||
) |
Construct from patch and internal field and patch field.
fvsPatchField | ( | const fvPatch & | , |
const DimensionedField< Type, surfaceMesh > & | , | ||
const dictionary & | |||
) |
Construct from patch, internal field and dictionary.
fvsPatchField | ( | const fvsPatchField< Type > & | , |
const fvPatch & | , | ||
const DimensionedField< Type, surfaceMesh > & | , | ||
const fvPatchFieldMapper & | |||
) |
Construct by mapping the given fvsPatchField onto a new patch.
fvsPatchField | ( | const fvsPatchField< Type > & | ) |
Construct as copy.
fvsPatchField | ( | const fvsPatchField< Type > & | , |
const DimensionedField< Type, surfaceMesh > & | |||
) |
Construct as copy setting internal field reference.
|
inlinevirtual |
Destructor.
Definition at line 266 of file fvsPatchField.H.
TypeName | ( | "fvsPatchField" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | tmp | , |
fvsPatchField | , | ||
patch | , | ||
(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF) | , | ||
(p, iF) | |||
) |
declareRunTimeSelectionTable | ( | tmp | , |
fvsPatchField | , | ||
patchMapper | , | ||
(const fvsPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const fvPatchFieldMapper &m) | , | ||
(dynamic_cast< const fvsPatchFieldType & >(ptf), p, iF, m) | |||
) |
declareRunTimeSelectionTable | ( | tmp | , |
fvsPatchField | , | ||
dictionary | , | ||
(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF, const dictionary &dict) | , | ||
(p, iF, dict) | |||
) |
|
inlinevirtual |
Construct and return a clone.
Definition at line 181 of file fvsPatchField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in immersedBoundaryFvsPatchField< Type >, processorCyclicFvsPatchField< Type >, processorFvsPatchField< Type >, slicedFvsPatchField< Type >, cyclicFvsPatchField< Type >, cyclicACMIFvsPatchField< Type >, cyclicAMIFvsPatchField< Type >, nonuniformTransformCyclicFvsPatchField< Type >, symmetryPlaneFvsPatchField< Type >, fixedValueFvsPatchField< Type >, cyclicSlipFvsPatchField< Type >, emptyFvsPatchField< Type >, symmetryFvsPatchField< Type >, wedgeFvsPatchField< Type >, calculatedFvsPatchField< Type >, and coupledFvsPatchField< Type >.
Definition at line 195 of file fvsPatchField.H.
|
static |
Return a pointer to a new patchField created on freestore given.
patch and internal field (does not set the patch field values)
|
static |
Return a pointer to a new patchField created on freestore given.
patch and internal field (does not set the patch field values) Allows override of constraint type
|
static |
Return a pointer to a new patchField created on freestore from.
a given fvsPatchField mapped onto a new patch
|
static |
Return a pointer to a new patchField created on freestore.
from dictionary
|
static |
Return a pointer to a new calculatedFvsPatchField created on.
freestore without setting patchField values
|
static |
Return a pointer to a new calculatedFvsPatchField created on.
freestore without setting patchField values
Definition at line 133 of file calculatedFvsPatchField.C.
const objectRegistry & db | ( | ) | const |
Return local objectRegistry.
Definition at line 138 of file fvsPatchField.C.
|
inline |
Return patch.
Definition at line 278 of file fvsPatchField.H.
Referenced by curvatureSeparation::calcCosAngle(), CentredFitData< Polynomial >::calcFit(), UpwindFitData< Polynomial >::calcFit(), CentredFitSnGradData< Polynomial >::calcFit(), leastSquaresVectors::calcLeastSquaresVectors(), skewCorrectionVectors::calcSkewCorrectionVectors(), Foam::fvc::cellReduce(), extendedFaceToCellStencil::collectData(), CoEulerDdtScheme< Type >::CorDeltaT(), inverseFaceDistanceDiffusivity::correct(), inversePointDistanceDiffusivity::correct(), surfaceInterpolation::makeNonOrthCorrectionVectors(), fvMeshDistribute::mapBoundaryFields(), fvMeshDistribute::mapExposedFaces(), fvsPatchField< Type >::NewCalculatedType(), parFvFieldReconstructor::reconstructFvSurfaceField(), dynamicRefineFvMesh::refine(), SLTSDdtScheme< Type >::relaxedDiag(), fvMeshDistribute::testField(), extendedUpwindCellToFaceStencil::weightedSum(), and extendedCellToFaceStencil::weightedSum().
|
inline |
Return dimensioned internal field reference.
Definition at line 285 of file fvsPatchField.H.
|
inline |
Return internal field reference.
Definition at line 291 of file fvsPatchField.H.
|
static |
Return the type of the calculated for of fvsPatchField.
Definition at line 35 of file calculatedFvsPatchField.C.
|
inlinevirtual |
Return true if this patch field fixes a value.
Needed to check if a level has to be specified while solving Poissons equations.
Definition at line 302 of file fvsPatchField.H.
|
inlinevirtual |
Return true if this patch field is coupled.
Definition at line 308 of file fvsPatchField.H.
Referenced by Foam::adjustPhi(), CentredFitData< Polynomial >::calcFit(), UpwindFitData< Polynomial >::calcFit(), CentredFitSnGradData< Polynomial >::calcFit(), skewCorrectionVectors::calcSkewCorrectionVectors(), pointLinear< Type >::correction(), linearUpwindV< Type >::correction(), linearUpwind< Type >::correction(), surfaceInterpolation::makeNonOrthCorrectionVectors(), extendedUpwindCellToFaceStencil::weightedSum(), and extendedCellToFaceStencil::weightedSum().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Reimplemented in immersedBoundaryFvsPatchField< Type >, and emptyFvsPatchField< Type >.
Definition at line 159 of file fvsPatchField.C.
|
virtual |
Reverse map the given fvsPatchField onto this fvsPatchField.
Reimplemented in emptyFvsPatchField< Type >.
Definition at line 170 of file fvsPatchField.C.
|
virtual |
Write.
Reimplemented in immersedBoundaryFvsPatchField< Type >.
Definition at line 181 of file fvsPatchField.C.
Referenced by Foam::operator<<(), and immersedBoundaryFvsPatchField< Type >::write().
void check | ( | const fvsPatchField< Type > & | ptf | ) | const |
Check fvsPatchField<Type> against given fvsPatchField<Type>
Definition at line 145 of file fvsPatchField.C.
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
Reimplemented in fixedValueFvsPatchField< Type >, and slicedFvsPatchField< Type >.
|
virtual |
|
virtual |
tmp<fvsPatchField<Type> > NewCalculatedType | ( | const fvPatch & | p | ) |
Definition at line 101 of file calculatedFvsPatchField.C.
|
friend |
|
private |
Reference to patch.
Definition at line 83 of file fvsPatchField.H.
Referenced by fvsPatchField< Type >::check(), and fvsPatchField< Type >::patch().
|
private |
Reference to internal field.
Definition at line 86 of file fvsPatchField.H.
Referenced by fvsPatchField< Type >::dimensionedInternalField(), and fvsPatchField< Type >::internalField().
|
static |
Debug switch to disallow the use of genericFvsPatchField.
Definition at line 98 of file fvsPatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.