waves: Fixed compilation with Clang
This commit is contained in:
@ -151,7 +151,8 @@ Foam::tmp<Foam::scalarField> Foam::wavePressureFvPatchScalarField::pn() const
|
||||
const fvMesh& meshs = subset.subMesh();
|
||||
const label patchis = findIndex(subset.patchMap(), patch().index());
|
||||
|
||||
const scalarField ps =
|
||||
const scalarField ps
|
||||
(
|
||||
levelSetAverage
|
||||
(
|
||||
meshs,
|
||||
@ -161,7 +162,8 @@ Foam::tmp<Foam::scalarField> Foam::wavePressureFvPatchScalarField::pn() const
|
||||
Up.waves().pGas(t, meshs.points())(),
|
||||
Up.waves().pLiquid(t, meshs.cellCentres())(),
|
||||
Up.waves().pLiquid(t, meshs.points())()
|
||||
);
|
||||
)
|
||||
);
|
||||
|
||||
tmp<scalarField> tResult(new scalarField(patch().size()));
|
||||
scalarField& result = tResult.ref();
|
||||
|
||||
@ -180,7 +180,8 @@ Foam::tmp<Foam::vectorField> Foam::waveVelocityFvPatchVectorField::Un() const
|
||||
const fvMesh& meshs = subset.subMesh();
|
||||
const label patchis = findIndex(subset.patchMap(), patch().index());
|
||||
|
||||
const vectorField Us =
|
||||
const vectorField Us
|
||||
(
|
||||
levelSetAverage
|
||||
(
|
||||
meshs,
|
||||
@ -190,7 +191,8 @@ Foam::tmp<Foam::vectorField> Foam::waveVelocityFvPatchVectorField::Un() const
|
||||
waves_.UGas(t, meshs.points())(),
|
||||
waves_.ULiquid(t, meshs.cellCentres())(),
|
||||
waves_.ULiquid(t, meshs.points())()
|
||||
);
|
||||
)
|
||||
);
|
||||
|
||||
tmp<vectorField> tResult(new vectorField(patch().size()));
|
||||
vectorField& result = tResult.ref();
|
||||
|
||||
Reference in New Issue
Block a user