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 * * * * * * * * * * * * * * //
Foam::phasePropertiesList::phasePropertiesList()
:
props_(),
phaseTypeNames_(),
stateLabels_()
{}
Foam::phasePropertiesList::phasePropertiesList
(
Istream& is,

View File

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