ENH: Registering region models to time instead of primary mesh

This commit is contained in:
andy
2012-12-19 11:21:24 +00:00
parent fe975279b2
commit c4097f1610

View File

@ -341,7 +341,7 @@ Foam::regionModels::regionModel::regionModel(const fvMesh& mesh)
(
"regionModelProperties",
mesh.time().constant(),
mesh,
mesh.time(),
IOobject::NO_READ,
IOobject::NO_WRITE
)
@ -376,7 +376,7 @@ Foam::regionModels::regionModel::regionModel
(
regionType + "Properties",
mesh.time().constant(),
mesh,
mesh.time(),
IOobject::MUST_READ,
IOobject::NO_WRITE
)
@ -421,7 +421,7 @@ Foam::regionModels::regionModel::regionModel
(
regionType + "Properties",
mesh.time().constant(),
mesh,
mesh.time(),
IOobject::NO_READ,
IOobject::NO_WRITE,
true