ENH: Adding dimensioSet to DataEntry and modify MRFZone entry types

This commit is contained in:
sergio
2012-04-13 16:31:07 +01:00
parent 8909ecc8bb
commit 48c70a91df
29 changed files with 488 additions and 92 deletions

View File

@ -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>

View File

@ -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
(