includeFuncEntry: Added support for function arguments compatible with the '-func' post-processing option

e.g.

functions
{
    #includeFunc mag(U)
}

executes 'mag' on the field 'U' writing the field 'mag(U)'.

The equivalent post-processing command is

postProcess -func 'mag(U)'
This commit is contained in:
Henry Weller
2016-05-31 14:43:44 +01:00
parent cb1523dbd9
commit 7454518bc5
7 changed files with 51 additions and 157 deletions

View File

@ -47,8 +47,7 @@ runTimeModifiable true;
functions
{
#includeFunc mag
mag{field U;}
#includeFunc mag(U)
}
// ************************************************************************* //

View File

@ -47,8 +47,7 @@ runTimeModifiable true;
functions
{
#includeFunc components
components{field U;}
#includeFunc components(U)
}
// ************************************************************************* //