STYLE: minor code typo corrections

This commit is contained in:
Andrew Heather
2016-11-22 15:34:37 +00:00
parent 558006afd2
commit 87a566c11c
5 changed files with 11 additions and 11 deletions

View File

@ -37,7 +37,7 @@ Foam::InterfaceForce<CloudType>::InterfaceForce
)
:
ParticleForce<CloudType>(owner, mesh, dict, typeName, true),
alpaName_(this->coeffs().lookup("alpha")),
alphaName_(this->coeffs().lookup("alpha")),
C_(readScalar(this->coeffs().lookup("C"))),
gradInterForceInterpPtr_(nullptr)
{}
@ -47,7 +47,7 @@ template<class CloudType>
Foam::InterfaceForce<CloudType>::InterfaceForce(const InterfaceForce& pf)
:
ParticleForce<CloudType>(pf),
alpaName_(pf.alpaName_),
alphaName_(pf.alphaName_),
C_(pf.C_),
gradInterForceInterpPtr_(pf.gradInterForceInterpPtr_)
{}
@ -75,7 +75,7 @@ void Foam::InterfaceForce<CloudType>::cacheFields(const bool store)
if (!fieldExists)
{
const volScalarField& alpha = this->mesh().template
lookupObject<volScalarField>(alpaName_);
lookupObject<volScalarField>(alphaName_);
volVectorField* gradInterForcePtr =
new volVectorField(fName, fvc::grad(alpha*(1-alpha)));

View File

@ -57,13 +57,13 @@ class InterfaceForce
{
// Private data
//- Name of VOF field
const word alpaName_;
//- Name of phase fraction field
const word alphaName_;
//- Model constant
const scalar C_;
//- gradInterForce interpolator
//- Interpolator for gradInterForce
autoPtr<interpolation<vector>> gradInterForceInterpPtr_;