correct typo and const type

This commit is contained in:
Yeongdo Park 2018-11-12 09:05:09 -05:00
parent 7ad6c88983
commit 46f571273c
3 changed files with 8 additions and 8 deletions

View file

@ -64,9 +64,9 @@ Foam::GasState::GasState(const scalar p, const scalar T, const scalarField &Y)
{
Y_ /= Foam::sum(Y_);
calculatX();
calculateX();
calculatW();
calculateW();
}
@ -79,9 +79,9 @@ Foam::GasState::GasState(const scalar p, const scalar T, tmp<scalarField> Y)
{
Y_ /= Foam::sum(Y_);
calculatX();
calculateX();
calculatW();
calculateW();
}

View file

@ -101,9 +101,9 @@ private:
inline const thermoType &thermos(label i) const;
inline void calculatW() const;
inline void calculateW();
inline void calculatX() const;
inline void calculateX();
public:

View file

@ -27,7 +27,7 @@ License
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
inline void Foam::GasState::calculatW() const
inline void Foam::GasState::calculateW()
{
forAll(X_, i)
{
@ -36,7 +36,7 @@ inline void Foam::GasState::calculatW() const
}
inline void Foam::GasState::calculatX() const
inline void Foam::GasState::calculateX()
{
forAll(X_, i)
{