functionObjects: renamed faceSource -> surfaceRegion, cellSource -> volRegion

The use of the term 'source' in the context of post-processing is
confusing and does not properly describe the process of region
selection.  The new names 'surfaceRegion' and 'volRegion' better
describe the purpose of the functionObjects which is to provide field
processing functionality limited to a specified region of space, either
a surface or volume.

The keyword 'source' is renamed 'regionType' which better describes the
purpose which is to specify the method by which the surface or volume
region is selected.

The keyword to select the name of the surface or volume region is
renamed from 'sourceName' to 'name' consistent with the other
name-changes above.
This commit is contained in:
Henry Weller
2016-06-12 20:56:51 +01:00
parent e2336fefd3
commit 83321bd4f7
99 changed files with 9723 additions and 259 deletions

View File

@ -32,7 +32,7 @@ functions
faceObj2
{
type faceSource;
type surfaceRegion;
libs ("libfieldFunctionObjects.so");
enabled true;
writeControl timeStep;
@ -40,7 +40,7 @@ functions
log true;
writeFields true;
source faceZone;
sourceName f0;
name f0;
operation areaAverage;
fields