mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: -exclude-fields, -no-fields options for foamToEnsight, foamToVTK
- additional verbosity option for conversions - ignore old `-finite-area` option and always convert available finiteArea mesh/fields unless `-no-finite-area` is specified (#2374) ENH: simplify point offset handling for ensight output - extend writing to include compact face/cell lists
This commit is contained in:
@ -94,19 +94,13 @@ template<class GeoField>
|
||||
Foam::PtrList<const GeoField> Foam::readFields
|
||||
(
|
||||
const typename GeoField::Mesh& mesh,
|
||||
const IOobjectList& objects,
|
||||
const wordRes& selection
|
||||
const IOobjectList& objects
|
||||
)
|
||||
{
|
||||
const bool syncPar = true;
|
||||
|
||||
// Available fields of type GeoField, sorted order
|
||||
const wordList fieldNames =
|
||||
(
|
||||
selection.empty()
|
||||
? objects.sortedNames<GeoField>()
|
||||
: objects.sortedNames<GeoField>(selection)
|
||||
);
|
||||
const wordList fieldNames(objects.sortedNames<GeoField>());
|
||||
|
||||
// Construct the fields
|
||||
PtrList<const GeoField> fields(fieldNames.size());
|
||||
@ -133,19 +127,13 @@ template<class GeoField>
|
||||
Foam::PtrList<const GeoField> Foam::readFields
|
||||
(
|
||||
const fvMeshSubsetProxy& proxy,
|
||||
const IOobjectList& objects,
|
||||
const wordRes& selection
|
||||
const IOobjectList& objects
|
||||
)
|
||||
{
|
||||
const bool syncPar = true;
|
||||
|
||||
// Available fields of type GeoField, sorted order
|
||||
const wordList fieldNames =
|
||||
(
|
||||
selection.empty()
|
||||
? objects.sortedNames<GeoField>()
|
||||
: objects.sortedNames<GeoField>(selection)
|
||||
);
|
||||
const wordList fieldNames(objects.sortedNames<GeoField>());
|
||||
|
||||
// Construct the fields
|
||||
PtrList<const GeoField> fields(fieldNames.size());
|
||||
|
||||
Reference in New Issue
Block a user