mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Adding dimensioSet to DataEntry and modify MRFZone entry types
This commit is contained in:
@ -154,6 +154,16 @@ dimensioned<Type>::dimensioned
|
||||
}
|
||||
|
||||
|
||||
template <class Type>
|
||||
dimensioned<Type>::dimensioned
|
||||
()
|
||||
:
|
||||
name_("undefined"),
|
||||
dimensions_(dimless),
|
||||
value_(pTraits<Type>::zero)
|
||||
{}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
template <class Type>
|
||||
|
||||
@ -107,6 +107,9 @@ public:
|
||||
//- Construct from an Istream with a given name and dimensions
|
||||
dimensioned(const word&, const dimensionSet&, Istream&);
|
||||
|
||||
//- Null constructor
|
||||
dimensioned();
|
||||
|
||||
//- Construct from dictionary, with default value.
|
||||
static dimensioned<Type> lookupOrDefault
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user