Skip to content
Snippets Groups Projects
Commit 78575272 authored by laurence's avatar laurence
Browse files

COMP: Correct to compile with Clang

parent 21203782
Branches
Tags
No related merge requests found
...@@ -348,7 +348,7 @@ void Foam::energyRegionCoupledFvPatchScalarField::evaluate ...@@ -348,7 +348,7 @@ void Foam::energyRegionCoupledFvPatchScalarField::evaluate
label patchi = patch().index(); label patchi = patch().index();
const scalarField& pp = thermoPtr_->p().boundaryField()[patchi]; const scalarField& pp = thermoPtr_->p().boundaryField()[patchi];
const scalarField lWeights = weights(); const scalarField lWeights(weights());
scalarField::operator= scalarField::operator=
( (
...@@ -416,8 +416,10 @@ patchNeighbourField() const ...@@ -416,8 +416,10 @@ patchNeighbourField() const
nbrThermoPtr_->T().internalField(), nbrFaceCells nbrThermoPtr_->T().internalField(), nbrFaceCells
); );
scalarField intNbrT = scalarField intNbrT
regionCoupledPatch_.regionCoupledPatch().interpolate(nbrIntT); (
regionCoupledPatch_.regionCoupledPatch().interpolate(nbrIntT)
);
label patchi = patch().index(); label patchi = patch().index();
const scalarField& pp = thermoPtr_->p().boundaryField()[patchi]; const scalarField& pp = thermoPtr_->p().boundaryField()[patchi];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment