ENH: add guarded lookup for dimensionedSet

STYLE: use standard dimensionedSets
This commit is contained in:
Mark Olesen
2019-01-02 16:53:41 +01:00
parent 2ce944a748
commit 505b4b9c1c
22 changed files with 58 additions and 80 deletions

View File

@ -71,9 +71,8 @@
const surfaceVectorField& Sf = mesh.Sf();
forAll(faces, i)
for (const label facei : faces)
{
label facei = faces[i];
murf[facei] = muri;
Mrf[facei] = Mri*(orientationi & Sf[facei]);
}