freestream[Pressure|Velocity]FvPatchScalarField: Updated for clang

This commit is contained in:
Henry Weller
2019-02-05 22:11:23 +00:00
parent 2395769513
commit d31f4f7aae
2 changed files with 2 additions and 2 deletions

View File

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

View File

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