mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use zero-gradient for cellDist field (reconstructParMesh)
- consistent with what decomposePar and redistributePar create
This commit is contained in:
@ -414,7 +414,7 @@ void writeDecomposition
|
||||
mesh.time().timeName(),
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::AUTO_WRITE,
|
||||
IOobject::NO_WRITE,
|
||||
false // do not register
|
||||
),
|
||||
mesh,
|
||||
@ -422,9 +422,9 @@ void writeDecomposition
|
||||
zeroGradientFvPatchScalarField::typeName
|
||||
);
|
||||
|
||||
forAll(procCells, cI)
|
||||
forAll(procCells, celli)
|
||||
{
|
||||
procCells[cI] = decomp[cI];
|
||||
procCells[celli] = decomp[celli];
|
||||
}
|
||||
|
||||
procCells.correctBoundaryConditions();
|
||||
|
||||
Reference in New Issue
Block a user