CrankNicolsonDdtScheme, backwardDdtScheme: Ensure V00 is available for moving meshes
This commit is contained in:
parent
13aacde1c7
commit
a7166e3273
2 changed files with 20 additions and 4 deletions
|
|
@ -200,7 +200,11 @@ public:
|
|||
ocCoeff_(1.0)
|
||||
{
|
||||
// Ensure the old-old-time cell volumes are available
|
||||
mesh.V00();
|
||||
// for moving meshes
|
||||
if (mesh.moving())
|
||||
{
|
||||
mesh.V00();
|
||||
}
|
||||
}
|
||||
|
||||
//- Construct from mesh and Istream
|
||||
|
|
@ -220,7 +224,11 @@ public:
|
|||
}
|
||||
|
||||
// Ensure the old-old-time cell volumes are available
|
||||
mesh.V00();
|
||||
// for moving meshes
|
||||
if (mesh.moving())
|
||||
{
|
||||
mesh.V00();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,11 @@ public:
|
|||
ddtScheme<Type>(mesh)
|
||||
{
|
||||
// Ensure the old-old-time cell volumes are available
|
||||
mesh.V00();
|
||||
// for moving meshes
|
||||
if (mesh.moving())
|
||||
{
|
||||
mesh.V00();
|
||||
}
|
||||
}
|
||||
|
||||
//- Construct from mesh and Istream
|
||||
|
|
@ -100,7 +104,11 @@ public:
|
|||
ddtScheme<Type>(mesh, is)
|
||||
{
|
||||
// Ensure the old-old-time cell volumes are available
|
||||
mesh.V00();
|
||||
// for moving meshes
|
||||
if (mesh.moving())
|
||||
{
|
||||
mesh.V00();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue