fvMesh: Do not register geometric object in the objectRegistry

This avoids them being mapped during mesh motion
This commit is contained in:
Henry
2013-03-09 16:16:38 +00:00
parent d05e256dcd
commit b2c397d459
3 changed files with 28 additions and 10 deletions

View File

@ -171,7 +171,8 @@ Foam::fvMesh::fvMesh(const IOobject& io)
time().timeName(),
*this,
IOobject::MUST_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
*this
);
@ -191,7 +192,8 @@ Foam::fvMesh::fvMesh(const IOobject& io)
time().timeName(),
*this,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
IOobject::AUTO_WRITE,
false
),
*this
);
@ -564,7 +566,8 @@ Foam::tmp<Foam::scalarField> Foam::fvMesh::movePoints(const pointField& p)
time().timeName(),
*this,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
V()
);
@ -585,7 +588,8 @@ Foam::tmp<Foam::scalarField> Foam::fvMesh::movePoints(const pointField& p)
this->time().timeName(),
*this,
IOobject::NO_READ,
IOobject::AUTO_WRITE
IOobject::AUTO_WRITE,
false
),
*this,
dimVolume/dimTime

View File

@ -208,7 +208,8 @@ const volScalarField::DimensionedInternalField& fvMesh::V() const
time().timeName(),
*this,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
*this,
dimVolume,
@ -258,7 +259,8 @@ const volScalarField::DimensionedInternalField& fvMesh::V00() const
time().timeName(),
*this,
IOobject::NO_READ,
IOobject::NO_WRITE
IOobject::NO_WRITE,
false
),
V0()
);

View File

@ -148,7 +148,10 @@ void Foam::surfaceInterpolation::makeWeights() const
(
"weights",
mesh_.pointsInstance(),
mesh_
mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
),
mesh_,
dimless
@ -217,7 +220,10 @@ void Foam::surfaceInterpolation::makeDeltaCoeffs() const
(
"deltaCoeffs",
mesh_.pointsInstance(),
mesh_
mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
),
mesh_,
dimless/dimLength
@ -262,7 +268,10 @@ void Foam::surfaceInterpolation::makeNonOrthDeltaCoeffs() const
(
"nonOrthDeltaCoeffs",
mesh_.pointsInstance(),
mesh_
mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
),
mesh_,
dimless/dimLength
@ -320,7 +329,10 @@ void Foam::surfaceInterpolation::makeNonOrthCorrectionVectors() const
(
"nonOrthCorrectionVectors",
mesh_.pointsInstance(),
mesh_
mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false // Do not register
),
mesh_,
dimless