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.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user