class specie added access method z() for nCharges_

This commit is contained in:
ignis 2015-11-23 17:17:22 +09:00
parent 31d593d57c
commit 147437386e
2 changed files with 9 additions and 0 deletions

View file

@ -149,6 +149,9 @@ public:
//- Gas constant [J/(kg K)]
inline scalar R() const;
//- Charge number
inline scalar z() const;
// I-O

View file

@ -132,6 +132,12 @@ inline scalar specie::R() const
}
inline scalar specie::z() const
{
return nCharges_;
}
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
inline void specie::operator=(const specie& st)