COMP: Resolved compiler warnings

This commit is contained in:
Andrew Heather
2022-03-24 13:36:06 +00:00
parent aa9e870f28
commit 529f6aa022
3 changed files with 2 additions and 3 deletions

View File

@ -106,7 +106,6 @@ bool Foam::DTRMParticle::move
//Cache old data of particle to use for reflected particle
const point pos0 = position();
const label cell1 = cell();
const tetIndices tetIs = this->currentTetIndices();
scalar f = 1 - stepFraction();
const vector s = p1() - p0() - deviationFromMeshCentre();

View File

@ -40,7 +40,7 @@ Foam::cutFaceAdvect::cutFaceAdvect
:
cutFace(mesh),
mesh_(mesh),
alpha1_(alpha1),
//alpha1_(alpha1),
subFaceCentre_(Zero),
subFaceArea_(Zero),
subFacePoints_(10),

View File

@ -80,7 +80,7 @@ class cutFaceAdvect
const fvMesh& mesh_;
//- Reference to VoF field
const volScalarField& alpha1_;
//const volScalarField& alpha1_;
//- Storage for centre of subface
point subFaceCentre_;