ENH: orientedFields - refectored and simplified usage

This commit is contained in:
Andrew Heather
2017-05-24 12:26:12 +01:00
parent ff132ff5f6
commit b5ed93a40a
34 changed files with 370 additions and 281 deletions

View File

@ -113,7 +113,7 @@ Foam::phaseModel::phaseModel
dimensionedScalar("0", dimensionSet(0, 3, -1, 0, 0), 0)
)
{
alphaPhi_.oriented().oriented() = true;
alphaPhi_.setOriented();
const word phiName = IOobject::groupName("phi", name_);