ENH: Added null constructor to phasePropertiesList

This commit is contained in:
andy
2010-10-20 16:50:37 +01:00
parent ef974adf6b
commit a777715e15
2 changed files with 22 additions and 8 deletions

View File

@ -27,6 +27,14 @@ License
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::phasePropertiesList::phasePropertiesList()
:
props_(),
phaseTypeNames_(),
stateLabels_()
{}
Foam::phasePropertiesList::phasePropertiesList Foam::phasePropertiesList::phasePropertiesList
( (
Istream& is, Istream& is,

View File

@ -65,14 +65,20 @@ class phasePropertiesList
public: public:
//- Constructor // Constructors
phasePropertiesList
( //- Construct null
Istream& is, phasePropertiesList();
const wordList& gasNames,
const wordList& liquidNames, //- Construct from components
const wordList& solidNames phasePropertiesList
); (
Istream& is,
const wordList& gasNames,
const wordList& liquidNames,
const wordList& solidNames
);
//- Destructor //- Destructor
~phasePropertiesList(); ~phasePropertiesList();