mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: allow selective disabling of parallel VTK rendering
- in case an individual geometry element has render issues in parallel - additional debug information
This commit is contained in:
committed by
Andrew Heather
parent
be35426f85
commit
e1bd3400ef
@ -129,7 +129,8 @@ addGeometry
|
||||
return false;
|
||||
}
|
||||
|
||||
DebugInfo << " Resolve surface " << functionObjectName_ << endl;
|
||||
DebugInfo
|
||||
<< " Find surface " << functionObjectName_ << endl;
|
||||
|
||||
const polySurface* surf =
|
||||
(
|
||||
@ -181,12 +182,11 @@ addGeometry
|
||||
<< functionObjectName_
|
||||
<< endl;
|
||||
|
||||
if (debug)
|
||||
{
|
||||
Info<< " Available surfaces:" << nl
|
||||
<< geometryBase::parent_.storedObjects()
|
||||
.sortedNames<polySurface>() << endl;
|
||||
}
|
||||
DebugInfo
|
||||
<< " Available surfaces:" << nl
|
||||
<< geometryBase::parent_.storedObjects()
|
||||
.sortedNames<polySurface>() << endl;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -252,6 +252,9 @@ addGeometry
|
||||
fieldSummary fieldInfo = queryFieldSummary(fieldName_, multiPiece);
|
||||
fieldInfo.reduce();
|
||||
|
||||
DebugInfo
|
||||
<< " Field " << fieldName_ << ' ' << fieldInfo.info() << endl;
|
||||
|
||||
|
||||
// Not rendered on this processor?
|
||||
// This is where we stop, but could also have an MPI barrier
|
||||
@ -370,7 +373,8 @@ addGeometryFromFile
|
||||
}
|
||||
else
|
||||
{
|
||||
DebugInfo << " Resolved surface " << fName << endl;
|
||||
DebugInfo
|
||||
<< " Resolved surface " << fName << endl;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -401,6 +405,9 @@ addGeometryFromFile
|
||||
fieldSummary fieldInfo = queryFieldSummary(fieldName_, polyData);
|
||||
// No reduction (serial)
|
||||
|
||||
DebugInfo
|
||||
<< " Field " << fieldName_ << ' ' << fieldInfo.info() << endl;
|
||||
|
||||
|
||||
// Render
|
||||
|
||||
@ -472,7 +479,8 @@ addGeometryToScene
|
||||
}
|
||||
else
|
||||
{
|
||||
DebugInfo << "Using file source only" << nl;
|
||||
DebugInfo
|
||||
<< "Using file source only" << nl;
|
||||
}
|
||||
|
||||
// File source
|
||||
|
||||
Reference in New Issue
Block a user