freestream[Pressure|Velocity]FvPatchScalarField: Updated for clang

This commit is contained in:
Chris Greenshields
2019-02-15 15:46:38 +00:00
parent 6b3f9c0b97
commit d93375f714
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ void Foam::freestreamPressureFvPatchScalarField::updateCoeffs()
UName_ UName_
); );
const Field<scalar> magUp = mag(Up); const Field<scalar> magUp(mag(Up));
const Field<vector>& nf = patch().nf(); const Field<vector>& nf = patch().nf();

View File

@ -107,7 +107,7 @@ void Foam::freestreamVelocityFvPatchVectorField::updateCoeffs()
} }
const Field<vector>& Up = *this; const Field<vector>& Up = *this;
const Field<scalar> magUp = mag(Up); const Field<scalar> magUp(mag(Up));
const Field<vector>& nf = patch().nf(); const Field<vector>& nf = patch().nf();