correct typo and const type
This commit is contained in:
parent
7ad6c88983
commit
46f571273c
3 changed files with 8 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue