Skip to content
Snippets Groups Projects
Commit 85cbbbf6 authored by Andrew Heather's avatar Andrew Heather
Browse files

updated to reflect changes to function object output handling

parent e8a70cd0
Branches
Tags
No related merge requests found
...@@ -54,6 +54,10 @@ functions ...@@ -54,6 +54,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (
......
...@@ -54,6 +54,10 @@ functions ...@@ -54,6 +54,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (
......
...@@ -54,6 +54,10 @@ functions ...@@ -54,6 +54,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (
......
...@@ -54,6 +54,10 @@ functions ...@@ -54,6 +54,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (
......
...@@ -48,7 +48,6 @@ maxAcousticCo 50.0; ...@@ -48,7 +48,6 @@ maxAcousticCo 50.0;
functions functions
( (
/*
fieldAverage1 fieldAverage1
{ {
// Type of functionObject // Type of functionObject
...@@ -57,6 +56,10 @@ functions ...@@ -57,6 +56,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled false;
outputControl outputTime;
// Fields to be probed. runTime modifiable! // Fields to be probed. runTime modifiable!
fields fields
( (
...@@ -80,7 +83,6 @@ functions ...@@ -80,7 +83,6 @@ functions
} }
); );
} }
*/
); );
// ************************************************************************* // // ************************************************************************* //
...@@ -48,7 +48,6 @@ maxAcousticCo 50.0; ...@@ -48,7 +48,6 @@ maxAcousticCo 50.0;
functions functions
( (
/*
fieldAverage1 fieldAverage1
{ {
// Type of functionObject // Type of functionObject
...@@ -57,6 +56,10 @@ functions ...@@ -57,6 +56,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled false;
outputControl outputTime;
// Fields to be probed. runTime modifiable! // Fields to be probed. runTime modifiable!
fields fields
( (
...@@ -80,7 +83,6 @@ functions ...@@ -80,7 +83,6 @@ functions
} }
); );
} }
*/
); );
// ************************************************************************* // // ************************************************************************* //
...@@ -54,6 +54,11 @@ functions ...@@ -54,6 +54,11 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so"); functionObjectLibs ("libsampling.so");
enabled true;
outputControl timeStep;
outputInterval 1;
// Locations to be probed. runTime modifiable! // Locations to be probed. runTime modifiable!
probeLocations probeLocations
( (
...@@ -81,6 +86,10 @@ functions ...@@ -81,6 +86,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (
......
...@@ -54,6 +54,11 @@ functions ...@@ -54,6 +54,11 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libsampling.so"); functionObjectLibs ("libsampling.so");
enabled true;
outputControl timeStep;
outputInterval 1;
// Locations to be probed. runTime modifiable! // Locations to be probed. runTime modifiable!
probeLocations probeLocations
( (
...@@ -81,6 +86,10 @@ functions ...@@ -81,6 +86,10 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldAverage.so"); functionObjectLibs ("libfieldAverage.so");
enabled true;
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (
......
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