This boundary condition provides a generic version of the calculated
condition, useful as a fallback for handling unknown patch types. Not generally applicable as a user-specified condition.
More...
Public Member Functions | |
TypeName ("generic") | |
Runtime type information. More... | |
genericFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &) | |
Construct from patch and internal field. More... | |
genericFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
genericFvsPatchField (const genericFvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given patchField<Type> onto a new patch. More... | |
virtual tmp< fvsPatchField< Type > > | clone () const |
Construct and return a clone. More... | |
genericFvsPatchField (const genericFvsPatchField< Type > &)=default | |
Default copy construct. More... | |
genericFvsPatchField (const genericFvsPatchField< 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 void | write (Ostream &) const |
Write. 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 faPatchField onto this faPatchField. More... | |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< scalarField > &) const |
Fatal. More... | |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< scalarField > &) const |
Fatal. More... | |
tmp< Field< Type > > | gradientInternalCoeffs () const |
Fatal. More... | |
tmp< Field< Type > > | gradientBoundaryCoeffs () const |
Fatal. More... | |
![]() | |
TypeName ("calculated") | |
Runtime type information. More... | |
calculatedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &) | |
Construct from patch and internal field. More... | |
calculatedFvsPatchField (const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
calculatedFvsPatchField (const calculatedFvsPatchField< Type > &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given patchField<Type> onto a new patch. More... | |
calculatedFvsPatchField (const calculatedFvsPatchField< Type > &) | |
Construct as copy. More... | |
calculatedFvsPatchField (const calculatedFvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual bool | fixesValue () const |
Return true if this patch field fixes a value. More... | |
![]() | |
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... | |
fvsPatchField (const fvsPatchField< Type > &, const DimensionedField< Type, surfaceMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual | ~fvsPatchField ()=default |
Destructor. More... | |
const objectRegistry & | db () const |
Return local objectRegistry. More... | |
const fvPatch & | patch () const |
Return patch. More... | |
const DimensionedField< Type, surfaceMesh > & | internalField () const |
Return dimensioned internal field reference. More... | |
const Field< Type > & | primitiveField () const |
Return internal field reference. More... | |
virtual bool | coupled () const |
Return true if this patch field is coupled. 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 Type2 > | |
Foam::tmp< Foam::fvsPatchField< Type > > | NewCalculatedType (const fvsPatchField< Type2 > &pf) |
![]() | |
genericPatchFieldBase ()=default | |
Default construct, generally not useful. More... | |
genericPatchFieldBase (const genericPatchFieldBase &)=default | |
Copy construct. More... | |
genericPatchFieldBase (genericPatchFieldBase &&)=default | |
Move construct. More... | |
genericPatchFieldBase (const dictionary &dict) | |
Initialize from dictionary. More... | |
const word & | actualType () const noexcept |
The actual patch type. More... | |
Additional Inherited Members | |
![]() | |
typedef fvPatch | Patch |
typedef calculatedFvsPatchField< Type > | Calculated |
![]() | |
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 int | disallowGenericFvsPatchField |
Debug switch to disallow the use of genericFvsPatchField. More... | |
![]() | |
void | genericFatalSolveError (const word &patchName, const IOobject &io) const |
void | reportMissingEntry (const word &entryName, const word &patchName, const IOobject &io) const |
FatalError for missing entry. More... | |
void | processGeneric (const label patchSize, const word &patchName, const IOobject &io, const bool separateValue) |
bool | processEntry (const entry &dEntry, const label patchSize, const word &patchName, const IOobject &io) |
void | putEntry (const entry &e, Ostream &os) const |
Write a single entry, with lookup of hashed values. More... | |
void | writeGeneric (Ostream &os, const bool separateValue) const |
template<class MapperType > | |
void | mapGeneric (const genericPatchFieldBase &rhs, const MapperType &mapper) |
Implementation for construct with mapper. More... | |
template<class MapperType > | |
void | autoMapGeneric (const MapperType &mapper) |
Implementation for autoMap of self given a mapping object. More... | |
void | rmapGeneric (const genericPatchFieldBase &rhs, const labelList &addr) |
genericPatchFieldBase (const Foam::zero, const genericPatchFieldBase &) | |
Partial copy construct. Only copy type and dictionary. More... | |
![]() | |
word | actualTypeName_ |
The non-generic patch name. More... | |
dictionary | dict_ |
HashPtrTable< scalarField > | scalarFields_ |
HashPtrTable< vectorField > | vectorFields_ |
HashPtrTable< sphericalTensorField > | sphTensorFields_ |
HashPtrTable< symmTensorField > | symmTensorFields_ |
HashPtrTable< tensorField > | tensorFields_ |
This boundary condition provides a generic version of the calculated
condition, useful as a fallback for handling unknown patch types. Not generally applicable as a user-specified condition.
Definition at line 57 of file genericFvsPatchField.H.
genericFvsPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, surfaceMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 35 of file genericFvsPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and Foam::foamVersion::patch.
genericFvsPatchField | ( | const fvPatch & | p, |
const DimensionedField< Type, surfaceMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 52 of file genericFvsPatchField.C.
References dict, and Foam::foamVersion::patch.
genericFvsPatchField | ( | const genericFvsPatchField< Type > & | rhs, |
const fvPatch & | p, | ||
const DimensionedField< Type, surfaceMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given patchField<Type> onto a new patch.
Definition at line 77 of file genericFvsPatchField.C.
|
default |
Default copy construct.
genericFvsPatchField | ( | const genericFvsPatchField< Type > & | rhs, |
const DimensionedField< Type, surfaceMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 93 of file genericFvsPatchField.C.
TypeName | ( | "generic" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from calculatedFvsPatchField< Type >.
Definition at line 99 of file genericFvsPatchField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from calculatedFvsPatchField< Type >.
Definition at line 119 of file genericFvsPatchField.H.
|
virtual |
Write.
Reimplemented from fvsPatchField< Type >.
Definition at line 107 of file genericFvsPatchField.C.
References os().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Reimplemented from fvsPatchField< Type >.
Definition at line 117 of file genericFvsPatchField.C.
|
virtual |
Reverse map the given faPatchField onto this faPatchField.
Reimplemented from fvsPatchField< Type >.
Definition at line 128 of file genericFvsPatchField.C.
|
virtual |
Fatal.
Definition at line 146 of file genericFvsPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::foamVersion::patch.
|
virtual |
Fatal.
Definition at line 167 of file genericFvsPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::foamVersion::patch.
Foam::tmp< Foam::Field< Type > > gradientInternalCoeffs | ( | ) | const |
Fatal.
Definition at line 187 of file genericFvsPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::foamVersion::patch.
Foam::tmp< Foam::Field< Type > > gradientBoundaryCoeffs | ( | ) | const |
Fatal.
Definition at line 204 of file genericFvsPatchField.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::name(), and Foam::foamVersion::patch.