Commit 83bae2ef authored by Henry Weller's avatar Henry Weller
Browse files

functionObjects: Renamed dictionary entry 'functionObjectLibs' -> 'libs'

This changes simplifies the specification of functionObjects in
controlDict and is consistent with the 'libs' option in controlDict to
load special solver libraries.

Support for the old 'functionObjectLibs' name is supported for backward compatibility.
parent a44857b4
......@@ -55,7 +55,7 @@ functions
type writeVTK;
// Where to load it from
functionObjectLibs ("libfoamToVTK.so");
libs ("libfoamToVTK.so");
// When to write:
// timeStep (with optional writeInterval)
......
......@@ -40,7 +40,7 @@ Description
writeVTK1
{
type writeVTK;
functionObjectLibs ("libIOFunctionObjects.so");
libs ("libIOFunctionObjects.so");
...
objectNames (obj1 obj2);
}
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type Lambda2;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl writeTime;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type Q;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl writeTime;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type forces;
functionObjectLibs ( "libforces.so" );
libs ( "libforces.so" );
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type cellSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type fieldMinMax;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type residuals;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type fieldValueDelta;
functionObjectLibs ("libfieldFunctionObjects.so");
libs ("libfieldFunctionObjects.so");
operation subtract;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type pressureTools;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl writeTime;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type sets;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type probes;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type scalarTransport;
functionObjectLibs ("libutilityFunctionObjects.so");
libs ("libutilityFunctionObjects.so");
enabled true;
writeControl timeStep;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type streamLine;
functionObjectLibs ( "libfieldFunctionObjects.so" );
libs ( "libfieldFunctionObjects.so" );
writeControl writeTime;
......
......@@ -15,7 +15,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type surfaces;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
enabled true;
writeControl writeTime;
......
......@@ -34,7 +34,7 @@ Description
FUNCTIONOBJECT1
{
type FUNCTIONOBJECT;
functionObjectLibs ("libFUNCTIONOBJECTFunctionObject.so");
libs ("libFUNCTIONOBJECTFunctionObject.so");
...
wordData someWord;
scalarData 1.0;
......
......@@ -17,7 +17,7 @@ FoamFile
graph
{
type sets;
functionObjectLibs ("libsampling.so");
libs ("libsampling.so");
writeControl writeTime;
interpolationScheme cellPointFace;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment