Field function which looks up another field and uses it as the argument to evaluate a given Foam::Function1. The user must specify both the name of the looked-up field and the function1. More...


Public Member Functions | |
| TypeName ("fieldFunction") | |
| Runtime type information. More... | |
| FieldFunction (const dictionary &dict, DimensionedFieldType &field) | |
| Construct with dictionary to initialise given field. More... | |
| FieldFunction (const FieldFunction &dff, DimensionedFieldType &field) | |
| Construct a copy for the given field. More... | |
| virtual autoPtr< DimensionedFieldFunction< DimensionedFieldType > > | clone (DimensionedFieldType &field) const |
| Construct and return a clone for the specified field. More... | |
| virtual | ~FieldFunction () |
| Destructor. More... | |
| virtual void | evaluate () |
| Evaluate the function and set the field. More... | |
| virtual bool | update () |
| Update the field for the current time. More... | |
| virtual void | write (Ostream &os) const |
| Write data to dictionary stream. More... | |
Public Member Functions inherited from DimensionedFieldFunction< DimensionedFieldType > | |
| TypeName ("DimensionedFieldFunction") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, DimensionedFieldFunction, dictionary,(const dictionary &dict, DimensionedFieldType &field),(dict, field)) | |
| DimensionedFieldFunction (const dictionary &dict, DimensionedFieldType &field) | |
| Construct with dictionary to initialise given field. More... | |
| DimensionedFieldFunction (const DimensionedFieldFunction &dff, DimensionedFieldType &field) | |
| Construct a copy for the given field. More... | |
| DimensionedFieldFunction (const DimensionedFieldFunction< DimensionedFieldType > &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual autoPtr< DimensionedFieldFunction< DimensionedFieldType > > | clone () const |
| Construct and return a clone for the specified field. More... | |
| virtual | ~DimensionedFieldFunction () |
| Destructor. More... | |
| virtual void | reset () |
| Reset the field size. More... | |
| void | operator= (const DimensionedFieldFunction< DimensionedFieldType > &)=delete |
| Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DimensionedFieldFunction< DimensionedFieldType > | |
| static autoPtr< DimensionedFieldFunction< DimensionedFieldType > > | New (const dictionary &dict, DimensionedFieldType &field) |
| Select null constructed. More... | |
Protected Attributes inherited from DimensionedFieldFunction< DimensionedFieldType > | |
| DimensionedFieldType & | field_ |
| Reference to the field the function applies to. More... | |
Field function which looks up another field and uses it as the argument to evaluate a given Foam::Function1. The user must specify both the name of the looked-up field and the function1.
solidElectricalConduction fvModel: solidElectricalConduction
{
type solidElectricalConduction;
sigma
{
type fieldFunction;
field T;
function
{
type polynomial;
coeffs (7.61e7 -1.38e5);
}
}
}
Definition at line 75 of file FieldFunction_DimensionedFieldFunction.H.
| FieldFunction | ( | const dictionary & | dict, |
| DimensionedFieldType & | field | ||
| ) |
Construct with dictionary to initialise given field.
Definition at line 32 of file FieldFunction_DimensionedFieldFunction.C.
| FieldFunction | ( | const FieldFunction< DimensionedFieldType > & | dff, |
| DimensionedFieldType & | field | ||
| ) |
Construct a copy for the given field.
Definition at line 47 of file FieldFunction_DimensionedFieldFunction.C.
|
inlinevirtual |
Destructor.
Definition at line 119 of file FieldFunction_DimensionedFieldFunction.H.
| TypeName | ( | "fieldFunction" | ) |
Runtime type information.
|
virtual |
Construct and return a clone for the specified field.
Implements DimensionedFieldFunction< DimensionedFieldType >.
Definition at line 63 of file FieldFunction_DimensionedFieldFunction.C.
|
virtual |
Evaluate the function and set the field.
Implements DimensionedFieldFunction< DimensionedFieldType >.
Definition at line 78 of file FieldFunction_DimensionedFieldFunction.C.
|
virtual |
Update the field for the current time.
Reimplemented from DimensionedFieldFunction< DimensionedFieldType >.
Definition at line 109 of file FieldFunction_DimensionedFieldFunction.C.
References Foam::evaluate().

|
virtual |
Write data to dictionary stream.
Implements DimensionedFieldFunction< DimensionedFieldType >.
Definition at line 118 of file FieldFunction_DimensionedFieldFunction.C.
References Foam::writeEntry().
