Do not register temporaries

This commit is contained in:
Henry
2015-02-12 10:00:53 +00:00
parent 5a2c5c8fdc
commit 2df2565435
3 changed files with 16 additions and 4 deletions

View File

@ -134,7 +134,10 @@ public:
( (
vf.name() + "BlendingFactor", vf.name() + "BlendingFactor",
this->mesh().time().timeName(), this->mesh().time().timeName(),
this->mesh() this->mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE,
false
), ),
this->mesh(), this->mesh(),
dimensionedScalar dimensionedScalar
@ -161,7 +164,10 @@ public:
( (
"blendedLimiter", "blendedLimiter",
this->mesh().time().timeName(), this->mesh().time().timeName(),
this->mesh() this->mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE,
false
), ),
this->mesh(), this->mesh(),
dimensionedScalar dimensionedScalar

View File

@ -117,7 +117,10 @@ public:
( (
"upwindLimiter", "upwindLimiter",
this->mesh().time().timeName(), this->mesh().time().timeName(),
this->mesh() this->mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE,
false
), ),
this->mesh(), this->mesh(),
dimensionedScalar("upwindLimiter", dimless, 0.0) dimensionedScalar("upwindLimiter", dimless, 0.0)

View File

@ -106,7 +106,10 @@ public:
( (
"midPointWeights", "midPointWeights",
this->mesh().time().timeName(), this->mesh().time().timeName(),
this->mesh() this->mesh(),
IOobject::NO_READ,
IOobject::NO_WRITE,
false
), ),
this->mesh(), this->mesh(),
dimensionedScalar("0.5", dimless, 0.5) dimensionedScalar("0.5", dimless, 0.5)