Merge branch 'pascal/fix/splitMeshRegionsOverwrite' into pascal/fixes
This commit is contained in:
commit
08611c9989
1 changed files with 5 additions and 3 deletions
|
@ -660,7 +660,8 @@ autoPtr<mapPolyMesh> createRegionMesh
|
||||||
const EdgeMap<label>& interfaceToPatch,
|
const EdgeMap<label>& interfaceToPatch,
|
||||||
const fvMesh& mesh,
|
const fvMesh& mesh,
|
||||||
const label regionI,
|
const label regionI,
|
||||||
const word& regionName
|
const word& regionName,
|
||||||
|
const word& newMeshInstance
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Neighbour cellRegion.
|
// Neighbour cellRegion.
|
||||||
|
@ -758,7 +759,7 @@ autoPtr<mapPolyMesh> createRegionMesh
|
||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
regionName,
|
regionName,
|
||||||
mesh.time().timeName(),
|
newMeshInstance,
|
||||||
mesh.time(),
|
mesh.time(),
|
||||||
IOobject::NO_READ,
|
IOobject::NO_READ,
|
||||||
IOobject::AUTO_WRITE
|
IOobject::AUTO_WRITE
|
||||||
|
@ -977,7 +978,8 @@ void createAndWriteRegion
|
||||||
interfaceToPatch,
|
interfaceToPatch,
|
||||||
mesh,
|
mesh,
|
||||||
regionI,
|
regionI,
|
||||||
regionNames[regionI]
|
regionNames[regionI],
|
||||||
|
newMeshInstance
|
||||||
);
|
);
|
||||||
|
|
||||||
// Read in mesh as fvMesh for mapping. HJ, 19/May/2011
|
// Read in mesh as fvMesh for mapping. HJ, 19/May/2011
|
||||||
|
|
Reference in a new issue