levelSet: Fixed typo

This commit is contained in:
Will Bainbridge
2017-05-25 11:15:42 +01:00
parent d759f685ec
commit 358770b860
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ Foam::levelSetFraction
levelC[cI],
levelP[pI0],
levelP[pIA],
levelP[pIA]
levelP[pIB]
};
if (above)

View File

@ -87,7 +87,7 @@ Foam::tmp<Foam::DimensionedField<Type, Foam::volMesh>> Foam::levelSetAverage
levelC[cI],
levelP[pI0],
levelP[pIA],
levelP[pIA]
levelP[pIB]
};
const cut::volumeIntegrateOp<Type>
positive = FixedList<Type, 4>
@ -171,7 +171,7 @@ Foam::tmp<Foam::Field<Type>> Foam::levelSetAverage
}
}
return sum & patch.Sf()/sqr(patch.magSf());
return patch.Sf()/sqr(patch.magSf()) & sum;
}