STY: Function names and arguments order

This commit is contained in:
sergio
2021-12-13 14:59:47 -08:00
committed by Andrew Heather
parent e5b64f7740
commit cd2e69923e
15 changed files with 53 additions and 60 deletions

View File

@ -455,18 +455,6 @@ Foam::tmp<Foam::scalarField> Foam::phaseSystem::Cp
}
Foam::tmp<Foam::scalarField> Foam::phaseSystem::CpThermo
(
const scalarField& T,
const scalarField& p,
const labelList& cells
) const
{
NotImplemented;
return nullptr;
}
Foam::tmp<Foam::volScalarField> Foam::phaseSystem::Cv() const
{
auto iter = phaseModels_.cbegin();
@ -510,8 +498,8 @@ Foam::tmp<Foam::scalarField> Foam::phaseSystem::Cv
Foam::tmp<Foam::scalarField> Foam::phaseSystem::rhoEoS
(
const scalarField& T,
const scalarField& p,
const scalarField& T,
const labelList& cells
) const
{

View File

@ -352,12 +352,16 @@ public:
) const;
//- Heat capacity using pressure and temperature
virtual tmp<scalarField> CpThermo
virtual tmp<scalarField> Cp
(
const scalarField& T,
const scalarField& p,
const scalarField& T,
const labelList& cells
) const;
) const
{
NotImplemented;
return tmp<scalarField>::New(p);
}
//- Return Cv of the mixture
virtual tmp<volScalarField> Cv() const;
@ -373,8 +377,8 @@ public:
//- Density from pressure and temperature
virtual tmp<scalarField> rhoEoS
(
const scalarField& T,
const scalarField& p,
const scalarField& T,
const labelList& cells
) const;