dynamicCode: Renamed 'redirectType' to 'name' to clarify the purpose

of the entry which is to provide the name of the generated class.

'redirectType' is supported for backward-compatibility.
This commit is contained in:
Henry Weller
2016-05-18 23:10:42 +01:00
parent 02f0d095ed
commit f2331a8587
18 changed files with 117 additions and 85 deletions

View File

@ -47,7 +47,7 @@ runTimeModifiable true;
functions
{
difference
error
{
// Load the library containing the 'coded' functionObject
libs ("libutilityFunctionObjects.so");
@ -55,7 +55,7 @@ functions
type coded;
// Name of on-the-fly generated functionObject
redirectType error;
name error;
codeEnd
#{
@ -63,7 +63,7 @@ functions
Info<< "Looking up field U\n" << endl;
const volVectorField& U = mesh().lookupObject<volVectorField>("U");
Info<< "Reading inlet velocity uInfX\n" << endl;
Info<< "Reading inlet velocity uInfX\n" << endl;
scalar ULeft = 0.0;
label leftI = mesh().boundaryMesh().findPatchID("left");

View File

@ -57,7 +57,7 @@ functions
{
type coded;
libs ("libutilityFunctionObjects.so");
redirectType setDeltaT;
name setDeltaT;
code
#{

View File

@ -26,7 +26,7 @@ boundaryField
inlet
{
type codedFixedValue;
redirectType swirl;
name swirl;
code
#{

View File

@ -56,7 +56,7 @@ totalMass
{
type coded;
libs ("libutilityFunctionObjects.so");
redirectType error;
name error;
code
#{