Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a certain type, e.g. constant or time varying, and provide functions to return the (interpolated) value, and integral between limits. More...
Public Types | |
typedef Field< Type > | returnType |
Public Member Functions | |
TypeName ("PatchFunction1") declareRunTimeSelectionTable(autoPtr | |
PatchFunction1 (const polyPatch &pp, const word &entryName, const bool faceValues=true) | |
PatchFunction1 (const polyPatch &pp, const word &entryName, const dictionary &dict, const bool faceValues=true) | |
PatchFunction1 (const PatchFunction1< Type > &rhs) | |
PatchFunction1 (const PatchFunction1< Type > &rhs, const polyPatch &pp) | |
virtual tmp< PatchFunction1< Type > > | clone () const =0 |
virtual tmp< PatchFunction1< Type > > | clone (const polyPatch &pp) const =0 |
virtual | ~PatchFunction1 ()=default |
virtual bool | constant () const |
virtual bool | uniform () const =0 |
virtual tmp< Field< Type > > | value (const scalar x) const |
virtual tmp< Field< Type > > | integrate (const scalar x1, const scalar x2) const |
virtual tmp< pointField > | localPosition (const pointField &globalPos) const |
virtual tmp< Field< Type > > | transform (const Field< Type > &fld) const |
virtual tmp< Field< Type > > | transform (const tmp< Field< Type >> &tfld) const |
virtual void | autoMap (const FieldMapper &mapper) |
virtual void | rmap (const PatchFunction1< Type > &rhs, const labelList &addr) |
virtual void | writeData (Ostream &os) const |
Static Public Member Functions | |
static autoPtr< PatchFunction1< Type > > | New (const polyPatch &pp, const word &entryName, const dictionary &dict, const bool faceValues=true, const bool mandatory=true) |
static autoPtr< PatchFunction1< Type > > | NewCompat (const polyPatch &pp, const word &entryName, std::initializer_list< std::pair< const char *, int >> compat, const dictionary &dict, const bool faceValues=true, const bool mandatory=true) |
static autoPtr< PatchFunction1< Type > > | NewIfPresent (const polyPatch &pp, const word &entryName, const dictionary &dict, const bool faceValues=true) |
static refPtr< PatchFunction1< Type > > | New (HashPtrTable< PatchFunction1< Type >> &cache, const polyPatch &pp, const word &entryName, const dictionary &dict, enum keyType::option matchOpt=keyType::LITERAL, const bool faceValues=true, const bool mandatory=true) |
Public Attributes | |
PatchFunction1 | |
dictionary | |
const polyPatch & | pp |
const polyPatch const word & | type |
const polyPatch const word const word & | entryName |
const polyPatch const word const word const dictionary & | dict |
const polyPatch const word const word const dictionary const bool | faceValues |
const polyPatch const word const word const dictionary const bool | pp |
const polyPatch const word const word const dictionary const bool | type |
const polyPatch const word const word const dictionary const bool | entryName |
const polyPatch const word const word const dictionary const bool | dict |
Protected Member Functions | |
void | operator= (const PatchFunction1< Type > &)=delete |
Protected Attributes | |
coordinateScaling< Type > | coordSys_ |
Friends | |
Ostream & | operator (Ostream &os, const PatchFunction1< Type > &rhs) |
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a certain type, e.g. constant or time varying, and provide functions to return the (interpolated) value, and integral between limits.
Extends the Function1 class by adding autoMap and rMap functions
Definition at line 56 of file PatchFunction1.H.
typedef Field<Type> returnType |
Definition at line 100 of file PatchFunction1.H.
PatchFunction1 | ( | const polyPatch & | pp, |
const word & | entryName, | ||
const bool | faceValues = true |
||
) |
PatchFunction1 | ( | const polyPatch & | pp, |
const word & | entryName, | ||
const dictionary & | dict, | ||
const bool | faceValues = true |
||
) |
|
explicit |
Definition at line 55 of file PatchFunction1.C.
|
explicit |
Definition at line 63 of file PatchFunction1.C.
|
virtualdefault |
|
protecteddelete |
TypeName | ( | "PatchFunction1" | ) |
|
pure virtual |
|
pure virtual |
Implemented in MappedFile< Type >, CodedField< Type >, Sampled< Type >, ConstantField< Type >, PatchExprField< Type >, and UniformValueField< Type >.
|
static |
|
static |
Definition at line 183 of file PatchFunction1New.C.
|
static |
Definition at line 207 of file PatchFunction1New.C.
Referenced by turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::turbulentTemperatureRadCoupledMixedFvPatchScalarField().
|
static |
Definition at line 214 of file PatchFunction1.H.
Definition at line 76 of file PatchFunction1.C.
Referenced by UniformValueField< Type >::uniform(), ConstantField< Type >::uniform(), and MappedFile< Type >::uniform().
|
virtual |
Reimplemented in MappedFile< Type >, CodedField< Type >, Sampled< Type >, ConstantField< Type >, PatchExprField< Type >, and UniformValueField< Type >.
Definition at line 84 of file PatchFunction1.C.
|
virtual |
Reimplemented in MappedFile< Type >, Sampled< Type >, CodedField< Type >, ConstantField< Type >, PatchExprField< Type >, and UniformValueField< Type >.
Definition at line 95 of file PatchFunction1.C.
|
virtual |
Definition at line 107 of file PatchFunction1.C.
|
virtual |
Definition at line 143 of file PatchFunction1.C.
|
virtual |
Definition at line 120 of file PatchFunction1.C.
|
virtual |
Reimplemented in MappedFile< Type >, CodedField< Type >, ConstantField< Type >, PatchExprField< Type >, and UniformValueField< Type >.
Definition at line 164 of file PatchFunction1.C.
|
virtual |
Reimplemented in MappedFile< Type >, CodedField< Type >, ConstantField< Type >, PatchExprField< Type >, and UniformValueField< Type >.
Definition at line 170 of file PatchFunction1.C.
|
virtual |
Reimplemented in MappedFile< Type >, CodedField< Type >, Sampled< Type >, ConstantField< Type >, PatchExprField< Type >, and UniformValueField< Type >.
Definition at line 178 of file PatchFunction1.C.
|
friend |
|
protected |
Definition at line 89 of file PatchFunction1.H.
Definition at line 109 of file PatchFunction1.H.
Definition at line 110 of file PatchFunction1.H.
const polyPatch& pp |
Definition at line 112 of file PatchFunction1.H.
Definition at line 113 of file PatchFunction1.H.
Definition at line 114 of file PatchFunction1.H.
const polyPatch const word const word const dictionary& dict |
Definition at line 115 of file PatchFunction1.H.
const polyPatch const word const word const dictionary const bool faceValues |
Definition at line 117 of file PatchFunction1.H.
const polyPatch const word const word const dictionary const bool pp |
Definition at line 118 of file PatchFunction1.H.
const polyPatch const word const word const dictionary const bool type |
Definition at line 118 of file PatchFunction1.H.
const polyPatch const word const word const dictionary const bool entryName |
Definition at line 118 of file PatchFunction1.H.
const polyPatch const word const word const dictionary const bool dict |
Definition at line 118 of file PatchFunction1.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.