mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: lazier field loading in foamToVTK
- avoid loading surface fields if there are no faceZones - avoid pointMesh if there are no appropriate point fields
This commit is contained in:
@ -44,9 +44,9 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Read the fields and optionally subset and put on the pointer list
|
||||
// Read the fields, optionally subset, and place on the pointer list
|
||||
template<class GeoField>
|
||||
void readFields
|
||||
label readFields
|
||||
(
|
||||
const meshSubsetHelper& helper,
|
||||
const typename GeoField::Mesh& mesh,
|
||||
|
||||
Reference in New Issue
Block a user