mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
timeVaryingMappedFixedValue: Reinstated support for AverageField
This commit is contained in:
@ -27,6 +27,18 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
Foam::Function1Types::Constant<Type>::Constant
|
||||
(
|
||||
const word& entryName,
|
||||
const Type& val
|
||||
)
|
||||
:
|
||||
Function1<Type>(entryName),
|
||||
value_(val)
|
||||
{}
|
||||
|
||||
|
||||
template<class Type>
|
||||
Foam::Function1Types::Constant<Type>::Constant
|
||||
(
|
||||
|
||||
@ -78,6 +78,9 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from entry name and value
|
||||
Constant(const word& entryName, const Type& val);
|
||||
|
||||
//- Construct from entry name and dictionary
|
||||
Constant(const word& entryName, const dictionary& dict);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user