mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: decomposePar.C: add shortcircuit to avoid allocating point mappers
This commit is contained in:
@ -528,7 +528,7 @@ int main(int argc, char *argv[])
|
|||||||
<< "Cell number should be between 0 and "
|
<< "Cell number should be between 0 and "
|
||||||
<< mesh.nCells()-1 << nl
|
<< mesh.nCells()-1 << nl
|
||||||
<< "On this mesh the particle should be in cell "
|
<< "On this mesh the particle should be in cell "
|
||||||
<< mesh.findCell(iter().position())
|
<< mesh.findCell(iter().position())
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -789,6 +789,14 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
|
|
||||||
// Point fields
|
// Point fields
|
||||||
|
if
|
||||||
|
(
|
||||||
|
pointScalarFields.size()
|
||||||
|
|| pointVectorFields.size()
|
||||||
|
|| pointSphericalTensorFields.size()
|
||||||
|
|| pointSymmTensorFields.size()
|
||||||
|
|| pointTensorFields.size()
|
||||||
|
)
|
||||||
{
|
{
|
||||||
labelIOList pointProcAddressing
|
labelIOList pointProcAddressing
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user