From f8db210a811cbba1534394cb7709c7eecb8c4c9b Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 25 Aug 2009 13:50:01 +0100 Subject: [PATCH] clashing names of temporaries --- .../limitedSchemes/linearUpwind/linearUpwind.C | 2 +- .../surfaceInterpolation/schemes/cubic/cubic.H | 7 +++++-- .../surfaceInterpolation/schemes/localMax/localMax.H | 2 +- .../surfaceInterpolation/schemes/localMin/localMin.H | 2 +- .../schemes/skewCorrected/skewCorrected.H | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/linearUpwind/linearUpwind.C b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/linearUpwind/linearUpwind.C index 89843d397e..4cda19451b 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/linearUpwind/linearUpwind.C +++ b/src/finiteVolume/interpolation/surfaceInterpolation/limitedSchemes/linearUpwind/linearUpwind.C @@ -45,7 +45,7 @@ Foam::linearUpwind::correction ( IOobject ( - "linearUpwindCorrection(" + vf.name() + ')', + "linearUpwind::correction(" + vf.name() + ')', mesh.time().timeName(), mesh, IOobject::NO_READ, diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H index 776313c552..f357602d5b 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/cubic/cubic.H @@ -131,9 +131,12 @@ public: ( IOobject ( - vf.name(), + "cubic::correction(" + vf.name() +')', mesh.time().timeName(), - mesh + mesh, + IOobject::NO_READ, + IOobject::NO_WRITE, + false ), surfaceInterpolationScheme::interpolate(vf, kSc, -kSc) ) diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H index 3fe3f21001..957f4a6920 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMax/localMax.H @@ -133,7 +133,7 @@ public: ( IOobject ( - vf.name(), + "localMax::interpolate(" + vf.name() + ')', mesh.time().timeName(), mesh ), diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H index 302e5bfd85..ef35ca64d3 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/localMin/localMin.H @@ -133,7 +133,7 @@ public: ( IOobject ( - vf.name(), + "localMin::interpolate(" + vf.name() + ')', mesh.time().timeName(), mesh ), diff --git a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H index 047f5c7df1..80122feb07 100644 --- a/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H +++ b/src/finiteVolume/interpolation/surfaceInterpolation/schemes/skewCorrected/skewCorrected.H @@ -144,7 +144,7 @@ public: ( IOobject ( - vf.name(), + "skewCorrected::skewCorrection(" + vf.name() + ')', mesh.time().timeName(), mesh ),