Skip to content

Commit

Permalink
levelSet: Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Bainbridge committed May 31, 2017
1 parent d759f68 commit 358770b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/finiteVolume/cfdTools/general/levelSet/levelSet.C
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Foam::levelSetFraction
levelC[cI],
levelP[pI0],
levelP[pIA],
levelP[pIA]
levelP[pIB]
};

if (above)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
}


Expand Down

0 comments on commit 358770b

Please sign in to comment.