mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
freestream[Pressure|Velocity]FvPatchScalarField: Updated for clang
This commit is contained in:
@ -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();
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user