mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add regular expressions for reconstructPar, mapFieldsPar -fields option
- improved flexibility - reconstruction of Lagrangian positions/fields now handled as a class for better modularity
This commit is contained in:
@ -121,7 +121,7 @@ template<class Type, class CombineOp>
|
||||
void MapVolFields
|
||||
(
|
||||
const IOobjectList& objects,
|
||||
const wordHashSet& selectedFields,
|
||||
const wordRes& selectedFields,
|
||||
const meshToMesh& interp,
|
||||
const CombineOp& cop
|
||||
)
|
||||
@ -135,8 +135,8 @@ void MapVolFields
|
||||
const wordList fieldNames =
|
||||
(
|
||||
selectedFields.empty()
|
||||
? objects.sortedNames(fieldType::typeName)
|
||||
: objects.sortedNames(fieldType::typeName, selectedFields)
|
||||
? objects.sortedNames<fieldType>()
|
||||
: objects.sortedNames<fieldType>(selectedFields)
|
||||
);
|
||||
|
||||
for (const word& fieldName : fieldNames)
|
||||
|
||||
Reference in New Issue
Block a user