From 2df2565435eeeb775fc475acac84ce86da089b9d Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Thu, 12 Feb 2015 10:00:53 +0000 Subject: [PATCH] Do not register temporaries --- .../limitedSchemes/blended/blended.H | 10 ++++++++-- .../limitedSchemes/upwind/upwind.H | 5 ++++- .../surfaceInterpolation/schemes/midPoint/midPoint.H | 5 ++++- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H index f58b8c2393b..3bfc47457e8 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/blended/blended.H @@ -134,7 +134,10 @@ public: ( vf.name() + "BlendingFactor", this->mesh().time().timeName(), - this->mesh() + this->mesh(), + IOobject::NO_READ, + IOobject::NO_WRITE, + false ), this->mesh(), dimensionedScalar @@ -161,7 +164,10 @@ public: ( "blendedLimiter", this->mesh().time().timeName(), - this->mesh() + this->mesh(), + IOobject::NO_READ, + IOobject::NO_WRITE, + false ), this->mesh(), dimensionedScalar diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H index d3fbdb7cb4b..2e04c1a19fe 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/upwind/upwind.H @@ -117,7 +117,10 @@ public: ( "upwindLimiter", this->mesh().time().timeName(), - this->mesh() + this->mesh(), + IOobject::NO_READ, + IOobject::NO_WRITE, + false ), this->mesh(), dimensionedScalar("upwindLimiter", dimless, 0.0) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H index 1a99c1c782a..44b1f6f8036 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/midPoint/midPoint.H @@ -106,7 +106,10 @@ public: ( "midPointWeights", this->mesh().time().timeName(), - this->mesh() + this->mesh(), + IOobject::NO_READ, + IOobject::NO_WRITE, + false ), this->mesh(), dimensionedScalar("0.5", dimless, 0.5) -- GitLab