IOcalcMag;
+ typedef IOOutputFilter IOdiv;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.C b/src/postProcessing/functionObjects/field/div/div.C
similarity index 87%
rename from src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.C
rename to src/postProcessing/functionObjects/field/div/div.C
index 9cb0229d4..cf5405659 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.C
+++ b/src/postProcessing/functionObjects/field/div/div.C
@@ -23,10 +23,10 @@ License
\*---------------------------------------------------------------------------*/
-#include "calcFvcDiv.H"
+#include "div.H"
#include "volFields.H"
#include "dictionary.H"
-#include "calcFvcDiv.H"
+#include "div.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@@ -34,14 +34,14 @@ namespace Foam
{
namespace functionObjects
{
- defineTypeNameAndDebug(calcFvcDiv, 0);
+ defineTypeNameAndDebug(div, 0);
}
}
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
-Foam::volScalarField& Foam::functionObjects::calcFvcDiv::divField
+Foam::volScalarField& Foam::functionObjects::div::divField
(
const word& divName,
const dimensionSet& dims
@@ -79,7 +79,7 @@ Foam::volScalarField& Foam::functionObjects::calcFvcDiv::divField
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-Foam::functionObjects::calcFvcDiv::calcFvcDiv
+Foam::functionObjects::div::div
(
const word& name,
const objectRegistry& obr,
@@ -96,7 +96,7 @@ Foam::functionObjects::calcFvcDiv::calcFvcDiv
}
-bool Foam::functionObjects::calcFvcDiv::viable
+bool Foam::functionObjects::div::viable
(
const word& name,
const objectRegistry& obr,
@@ -111,13 +111,13 @@ bool Foam::functionObjects::calcFvcDiv::viable
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-Foam::functionObjects::calcFvcDiv::~calcFvcDiv()
+Foam::functionObjects::div::~div()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
-void Foam::functionObjects::calcFvcDiv::read(const dictionary& dict)
+void Foam::functionObjects::div::read(const dictionary& dict)
{
dict.lookup("fieldName") >> fieldName_;
dict.lookup("resultName") >> resultName_;
@@ -129,7 +129,7 @@ void Foam::functionObjects::calcFvcDiv::read(const dictionary& dict)
}
-void Foam::functionObjects::calcFvcDiv::execute()
+void Foam::functionObjects::div::execute()
{
bool processed = false;
@@ -144,17 +144,17 @@ void Foam::functionObjects::calcFvcDiv::execute()
}
-void Foam::functionObjects::calcFvcDiv::end()
+void Foam::functionObjects::div::end()
{
execute();
}
-void Foam::functionObjects::calcFvcDiv::timeSet()
+void Foam::functionObjects::div::timeSet()
{}
-void Foam::functionObjects::calcFvcDiv::write()
+void Foam::functionObjects::div::write()
{
if (obr_.foundObject(resultName_))
{
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.H b/src/postProcessing/functionObjects/field/div/div.H
similarity index 89%
rename from src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.H
rename to src/postProcessing/functionObjects/field/div/div.H
index bc96f8ffb..8fe81600f 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDiv.H
+++ b/src/postProcessing/functionObjects/field/div/div.H
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see .
Class
- Foam::functionObjects::calcFvcDiv
+ Foam::functionObjects::div
Group
grpFVFunctionObjects
@@ -33,13 +33,13 @@ Description
volume scalar field.
SourceFiles
- calcFvcDiv.C
- IOcalcFvcDiv.H
+ div.C
+ IOdiv.H
\*---------------------------------------------------------------------------*/
-#ifndef calcFvcDiv_H
-#define calcFvcDiv_H
+#ifndef functionObjects_div_H
+#define functionObjects_div_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
@@ -63,14 +63,14 @@ namespace functionObjects
{
/*---------------------------------------------------------------------------*\
- Class calcFvcDiv Declaration
+ Class div Declaration
\*---------------------------------------------------------------------------*/
-class calcFvcDiv
+class div
{
// Private data
- //- Name of this calcFvcDiv object
+ //- Name of this div object
word name_;
//- Reference to the database
@@ -102,23 +102,23 @@ class calcFvcDiv
);
//- Disallow default bitwise copy construct
- calcFvcDiv(const calcFvcDiv&);
+ div(const div&);
//- Disallow default bitwise assignment
- void operator=(const calcFvcDiv&);
+ void operator=(const div&);
public:
//- Runtime type information
- TypeName("calcFvcDiv");
+ TypeName("div");
// Constructors
//- Construct for given objectRegistry and dictionary.
// Allow the possibility to load fields from files
- calcFvcDiv
+ div
(
const word& name,
const objectRegistry&,
@@ -138,18 +138,18 @@ public:
//- Destructor
- virtual ~calcFvcDiv();
+ virtual ~div();
// Member Functions
- //- Return name of the set of calcFvcDiv
+ //- Return name of the set of div
virtual const word& name() const
{
return name_;
}
- //- Read the calcFvcDiv data
+ //- Read the div data
virtual void read(const dictionary&);
//- Execute, currently does nothing
@@ -161,7 +161,7 @@ public:
//- Called when time was set at the end of the Time::operator++
virtual void timeSet();
- //- Calculate the calcFvcDiv and write
+ //- Calculate the div and write
virtual void write();
//- Update for changes of mesh
@@ -182,7 +182,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
- #include "calcFvcDivTemplates.C"
+ #include "divTemplates.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcMag/calcMagFunctionObject.C b/src/postProcessing/functionObjects/field/div/divFunctionObject.C
similarity index 87%
rename from src/postProcessing/functionObjects/fvTools/calcMag/calcMagFunctionObject.C
rename to src/postProcessing/functionObjects/field/div/divFunctionObject.C
index 61aded1e6..33c4d507a 100644
--- a/src/postProcessing/functionObjects/fvTools/calcMag/calcMagFunctionObject.C
+++ b/src/postProcessing/functionObjects/field/div/divFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -23,18 +23,18 @@ License
\*---------------------------------------------------------------------------*/
-#include "calcMagFunctionObject.H"
+#include "divFunctionObject.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam
{
- defineNamedTemplateTypeNameAndDebug(calcMagFunctionObject, 0);
+ defineNamedTemplateTypeNameAndDebug(divFunctionObject, 0);
addToRunTimeSelectionTable
(
functionObject,
- calcMagFunctionObject,
+ divFunctionObject,
dictionary
);
}
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivFunctionObject.H b/src/postProcessing/functionObjects/field/div/divFunctionObject.H
similarity index 82%
rename from src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivFunctionObject.H
rename to src/postProcessing/functionObjects/field/div/divFunctionObject.H
index 5446371ec..4ca010f84 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivFunctionObject.H
+++ b/src/postProcessing/functionObjects/field/div/divFunctionObject.H
@@ -22,29 +22,29 @@ License
along with OpenFOAM. If not, see .
Typedef
- Foam::calcFvcDivFunctionObject
+ Foam::divFunctionObject
Description
- FunctionObject wrapper around calcFvcDiv to allow it to be created
+ FunctionObject wrapper around div to allow it to be created
via the functions entry within controlDict.
SourceFiles
- calcFvcDivFunctionObject.C
+ divFunctionObject.C
\*---------------------------------------------------------------------------*/
-#ifndef calcFvcDivFunctionObject_H
-#define calcFvcDivFunctionObject_H
+#ifndef divFunctionObject_H
+#define divFunctionObject_H
-#include "calcFvcDiv.H"
+#include "div.H"
#include "OutputFilterFunctionObject.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
- typedef OutputFilterFunctionObject
- calcFvcDivFunctionObject;
+ typedef OutputFilterFunctionObject
+ divFunctionObject;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivTemplates.C b/src/postProcessing/functionObjects/field/div/divTemplates.C
similarity index 97%
rename from src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivTemplates.C
rename to src/postProcessing/functionObjects/field/div/divTemplates.C
index 6659dccbf..8cae12aa6 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivTemplates.C
+++ b/src/postProcessing/functionObjects/field/div/divTemplates.C
@@ -29,7 +29,7 @@ License
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
-void Foam::functionObjects::calcFvcDiv::calcDiv
+void Foam::functionObjects::div::calcDiv
(
const word& fieldName,
const word& resultName,
diff --git a/src/postProcessing/functionObjects/field/fieldFunctionObjectsDoc.H b/src/postProcessing/functionObjects/field/doc/fieldFunctionObjectsDoc.H
similarity index 94%
rename from src/postProcessing/functionObjects/field/fieldFunctionObjectsDoc.H
rename to src/postProcessing/functionObjects/field/doc/fieldFunctionObjectsDoc.H
index 6c934be48..4de0a4a07 100644
--- a/src/postProcessing/functionObjects/field/fieldFunctionObjectsDoc.H
+++ b/src/postProcessing/functionObjects/field/doc/fieldFunctionObjectsDoc.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverage/fieldAverage.H b/src/postProcessing/functionObjects/field/fieldAverage/fieldAverage/fieldAverage.H
index 34e03e462..2fbbe0e2e 100644
--- a/src/postProcessing/functionObjects/field/fieldAverage/fieldAverage/fieldAverage.H
+++ b/src/postProcessing/functionObjects/field/fieldAverage/fieldAverage/fieldAverage.H
@@ -119,8 +119,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef fieldAverage_H
-#define fieldAverage_H
+#ifndef functionObjects_fieldAverage_H
+#define functionObjects_fieldAverage_H
#include "volFieldsFwd.H"
#include "Switch.H"
diff --git a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H b/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H
index ceea83e7e..fa6488068 100644
--- a/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H
+++ b/src/postProcessing/functionObjects/field/fieldCoordinateSystemTransform/fieldCoordinateSystemTransform.H
@@ -74,8 +74,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef fieldCoordinateSystemTransform_H
-#define fieldCoordinateSystemTransform_H
+#ifndef functionObjects_fieldCoordinateSystemTransform_H
+#define functionObjects_fieldCoordinateSystemTransform_H
#include "OFstream.H"
#include "volFields.H"
diff --git a/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.H b/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.H
index b28e9433d..1583c7354 100644
--- a/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.H
+++ b/src/postProcessing/functionObjects/field/fieldMinMax/fieldMinMax.H
@@ -75,8 +75,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef fieldMinMax_H
-#define fieldMinMax_H
+#ifndef functionObjects_fieldMinMax_H
+#define functionObjects_fieldMinMax_H
#include "functionObjectFiles.H"
#include "Switch.H"
diff --git a/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.H b/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.H
index 7de7069c7..15bf465e6 100644
--- a/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.H
+++ b/src/postProcessing/functionObjects/field/fieldValues/cellSource/cellSource.H
@@ -102,8 +102,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef cellSource_H
-#define cellSource_H
+#ifndef functionObjects_cellSource_H
+#define functionObjects_cellSource_H
#include "NamedEnum.H"
#include "fieldValue.H"
diff --git a/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.H b/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.H
index ec72bd868..ec7c6a96d 100644
--- a/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.H
+++ b/src/postProcessing/functionObjects/field/fieldValues/faceSource/faceSource.H
@@ -136,8 +136,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef faceSource_H
-#define faceSource_H
+#ifndef functionObjects_faceSource_H
+#define functionObjects_faceSource_H
#include "NamedEnum.H"
#include "fieldValue.H"
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.H b/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.H
index 5446f003f..399a2574e 100644
--- a/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.H
+++ b/src/postProcessing/functionObjects/field/fieldValues/fieldValue/fieldValue.H
@@ -35,8 +35,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef fieldValue_H
-#define fieldValue_H
+#ifndef functionObjects_fieldValue_H
+#define functionObjects_fieldValue_H
#include "functionObjectFiles.H"
#include "Switch.H"
diff --git a/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H b/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H
index cd68f4774..abaf609c7 100644
--- a/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H
+++ b/src/postProcessing/functionObjects/field/fieldValues/fieldValueDelta/fieldValueDelta.H
@@ -73,8 +73,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef fieldValueDelta_H
-#define fieldValueDelta_H
+#ifndef functionObjects_fieldValueDelta_H
+#define functionObjects_fieldValueDelta_H
#include "functionObjectFiles.H"
#include "fieldValue.H"
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/IOcalcFvcDiv.H b/src/postProcessing/functionObjects/field/grad/IOgrad.H
similarity index 83%
rename from src/postProcessing/functionObjects/fvTools/calcFvcDiv/IOcalcFvcDiv.H
rename to src/postProcessing/functionObjects/field/grad/IOgrad.H
index 245aae6e2..2af56a035 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/IOcalcFvcDiv.H
+++ b/src/postProcessing/functionObjects/field/grad/IOgrad.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -22,24 +22,24 @@ License
along with OpenFOAM. If not, see .
Typedef
- Foam::IOcalcFvcDiv
+ Foam::IOgrad
Description
- Instance of the generic IOOutputFilter for calcFvcDiv.
+ Instance of the generic IOOutputFilter for grad.
\*---------------------------------------------------------------------------*/
-#ifndef IOcalcFvcDiv_H
-#define IOcalcFvcDiv_H
+#ifndef IOgrad_H
+#define IOgrad_H
-#include "calcFvcDiv.H"
+#include "grad.H"
#include "IOOutputFilter.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
- typedef IOOutputFilter IOcalcFvcDiv;
+ typedef IOOutputFilter IOgrad;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGrad.C b/src/postProcessing/functionObjects/field/grad/grad.C
similarity index 85%
rename from src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGrad.C
rename to src/postProcessing/functionObjects/field/grad/grad.C
index 31b17b9e0..d304ee53f 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGrad.C
+++ b/src/postProcessing/functionObjects/field/grad/grad.C
@@ -23,10 +23,10 @@ License
\*---------------------------------------------------------------------------*/
-#include "calcFvcGrad.H"
+#include "grad.H"
#include "volFields.H"
#include "dictionary.H"
-#include "calcFvcGrad.H"
+#include "grad.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@@ -34,14 +34,14 @@ namespace Foam
{
namespace functionObjects
{
- defineTypeNameAndDebug(calcFvcGrad, 0);
+ defineTypeNameAndDebug(grad, 0);
}
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-Foam::functionObjects::calcFvcGrad::calcFvcGrad
+Foam::functionObjects::grad::grad
(
const word& name,
const objectRegistry& obr,
@@ -58,7 +58,7 @@ Foam::functionObjects::calcFvcGrad::calcFvcGrad
}
-bool Foam::functionObjects::calcFvcGrad::viable
+bool Foam::functionObjects::grad::viable
(
const word& name,
const objectRegistry& obr,
@@ -73,13 +73,13 @@ bool Foam::functionObjects::calcFvcGrad::viable
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-Foam::functionObjects::calcFvcGrad::~calcFvcGrad()
+Foam::functionObjects::grad::~grad()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
-void Foam::functionObjects::calcFvcGrad::read(const dictionary& dict)
+void Foam::functionObjects::grad::read(const dictionary& dict)
{
dict.lookup("fieldName") >> fieldName_;
dict.lookup("resultName") >> resultName_;
@@ -91,7 +91,7 @@ void Foam::functionObjects::calcFvcGrad::read(const dictionary& dict)
}
-void Foam::functionObjects::calcFvcGrad::execute()
+void Foam::functionObjects::grad::execute()
{
bool processed = false;
@@ -106,17 +106,17 @@ void Foam::functionObjects::calcFvcGrad::execute()
}
-void Foam::functionObjects::calcFvcGrad::end()
+void Foam::functionObjects::grad::end()
{
execute();
}
-void Foam::functionObjects::calcFvcGrad::timeSet()
+void Foam::functionObjects::grad::timeSet()
{}
-void Foam::functionObjects::calcFvcGrad::write()
+void Foam::functionObjects::grad::write()
{
if (obr_.foundObject(resultName_))
{
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGrad.H b/src/postProcessing/functionObjects/field/grad/grad.H
similarity index 89%
rename from src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGrad.H
rename to src/postProcessing/functionObjects/field/grad/grad.H
index f1b67ae08..d017c57f4 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGrad.H
+++ b/src/postProcessing/functionObjects/field/grad/grad.H
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see .
Class
- Foam::functionObjects::calcFvcGrad
+ Foam::functionObjects::grad
Group
grpFVFunctionObjects
@@ -33,13 +33,13 @@ Description
volume vector or tensor field.
SourceFiles
- calcFvcGrad.C
- IOcalcFvcGrad.H
+ grad.C
+ IOgrad.H
\*---------------------------------------------------------------------------*/
-#ifndef calcFvcGrad_H
-#define calcFvcGrad_H
+#ifndef functionObjects_grad_H
+#define functionObjects_grad_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
@@ -63,14 +63,14 @@ namespace functionObjects
{
/*---------------------------------------------------------------------------*\
- Class calcFvcGrad Declaration
+ Class grad Declaration
\*---------------------------------------------------------------------------*/
-class calcFvcGrad
+class grad
{
// Private data
- //- Name of this calcFvcGrad object
+ //- Name of this grad object
word name_;
//- Reference to the database
@@ -105,23 +105,23 @@ class calcFvcGrad
);
//- Disallow default bitwise copy construct
- calcFvcGrad(const calcFvcGrad&);
+ grad(const grad&);
//- Disallow default bitwise assignment
- void operator=(const calcFvcGrad&);
+ void operator=(const grad&);
public:
//- Runtime type information
- TypeName("calcFvcGrad");
+ TypeName("grad");
// Constructors
//- Construct for given objectRegistry and dictionary.
// Allow the possibility to load fields from files
- calcFvcGrad
+ grad
(
const word& name,
const objectRegistry&,
@@ -141,18 +141,18 @@ public:
//- Destructor
- virtual ~calcFvcGrad();
+ virtual ~grad();
// Member Functions
- //- Return name of the set of calcFvcGrad
+ //- Return name of the set of grad
virtual const word& name() const
{
return name_;
}
- //- Read the calcFvcGrad data
+ //- Read the grad data
virtual void read(const dictionary&);
//- Execute, currently does nothing
@@ -164,7 +164,7 @@ public:
//- Called when time was set at the end of the Time::operator++
virtual void timeSet();
- //- Calculate the calcFvcGrad and write
+ //- Calculate the grad and write
virtual void write();
//- Update for changes of mesh
@@ -185,7 +185,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
- #include "calcFvcGradTemplates.C"
+ #include "gradTemplates.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivFunctionObject.C b/src/postProcessing/functionObjects/field/grad/gradFunctionObject.C
similarity index 86%
rename from src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivFunctionObject.C
rename to src/postProcessing/functionObjects/field/grad/gradFunctionObject.C
index 32f990ec0..9a04d4913 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcDiv/calcFvcDivFunctionObject.C
+++ b/src/postProcessing/functionObjects/field/grad/gradFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -23,18 +23,18 @@ License
\*---------------------------------------------------------------------------*/
-#include "calcFvcDivFunctionObject.H"
+#include "gradFunctionObject.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam
{
- defineNamedTemplateTypeNameAndDebug(calcFvcDivFunctionObject, 0);
+ defineNamedTemplateTypeNameAndDebug(gradFunctionObject, 0);
addToRunTimeSelectionTable
(
functionObject,
- calcFvcDivFunctionObject,
+ gradFunctionObject,
dictionary
);
}
diff --git a/src/postProcessing/functionObjects/fvTools/calcMag/calcMagFunctionObject.H b/src/postProcessing/functionObjects/field/grad/gradFunctionObject.H
similarity index 83%
rename from src/postProcessing/functionObjects/fvTools/calcMag/calcMagFunctionObject.H
rename to src/postProcessing/functionObjects/field/grad/gradFunctionObject.H
index b83e6817a..776051beb 100644
--- a/src/postProcessing/functionObjects/fvTools/calcMag/calcMagFunctionObject.H
+++ b/src/postProcessing/functionObjects/field/grad/gradFunctionObject.H
@@ -22,29 +22,29 @@ License
along with OpenFOAM. If not, see .
Typedef
- Foam::calcMagFunctionObject
+ Foam::gradFunctionObject
Description
- FunctionObject wrapper around calcMag to allow it to be created
+ FunctionObject wrapper around grad to allow it to be created
via the functions entry within controlDict.
SourceFiles
- calcMagFunctionObject.C
+ gradFunctionObject.C
\*---------------------------------------------------------------------------*/
-#ifndef calcMagFunctionObject_H
-#define calcMagFunctionObject_H
+#ifndef gradFunctionObject_H
+#define gradFunctionObject_H
-#include "calcMag.H"
+#include "grad.H"
#include "OutputFilterFunctionObject.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
- typedef OutputFilterFunctionObject
- calcMagFunctionObject;
+ typedef OutputFilterFunctionObject
+ gradFunctionObject;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradTemplates.C b/src/postProcessing/functionObjects/field/grad/gradTemplates.C
similarity index 97%
rename from src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradTemplates.C
rename to src/postProcessing/functionObjects/field/grad/gradTemplates.C
index 3f20974ad..c54c0a490 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradTemplates.C
+++ b/src/postProcessing/functionObjects/field/grad/gradTemplates.C
@@ -35,7 +35,7 @@ Foam::GeometricField
Foam::fvPatchField,
Foam::volMesh
>&
-Foam::functionObjects::calcFvcGrad::gradField
+Foam::functionObjects::grad::gradField
(
const word& gradName,
const dimensionSet& dims
@@ -82,7 +82,7 @@ Foam::functionObjects::calcFvcGrad::gradField
template
-void Foam::functionObjects::calcFvcGrad::calcGrad
+void Foam::functionObjects::grad::calcGrad
(
const word& fieldName,
const word& resultName,
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/IOcalcFvcGrad.H b/src/postProcessing/functionObjects/field/mag/IOmag.H
similarity index 83%
rename from src/postProcessing/functionObjects/fvTools/calcFvcGrad/IOcalcFvcGrad.H
rename to src/postProcessing/functionObjects/field/mag/IOmag.H
index 2e97ac645..33ba658f8 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/IOcalcFvcGrad.H
+++ b/src/postProcessing/functionObjects/field/mag/IOmag.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -22,24 +22,24 @@ License
along with OpenFOAM. If not, see .
Typedef
- Foam::IOcalcFvcGrad
+ Foam::IOmag
Description
- Instance of the generic IOOutputFilter for calcFvcGrad.
+ Instance of the generic IOOutputFilter for mag.
\*---------------------------------------------------------------------------*/
-#ifndef IOcalcFvcGrad_H
-#define IOcalcFvcGrad_H
+#ifndef IOmag_H
+#define IOmag_H
-#include "calcFvcGrad.H"
+#include "mag.H"
#include "IOOutputFilter.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
- typedef IOOutputFilter IOcalcFvcGrad;
+ typedef IOOutputFilter IOmag;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcMag/calcMag.C b/src/postProcessing/functionObjects/field/mag/mag.C
similarity index 87%
rename from src/postProcessing/functionObjects/fvTools/calcMag/calcMag.C
rename to src/postProcessing/functionObjects/field/mag/mag.C
index 73e0b8b28..fa0fa725e 100644
--- a/src/postProcessing/functionObjects/fvTools/calcMag/calcMag.C
+++ b/src/postProcessing/functionObjects/field/mag/mag.C
@@ -23,10 +23,10 @@ License
\*---------------------------------------------------------------------------*/
-#include "calcMag.H"
+#include "mag.H"
#include "volFields.H"
#include "dictionary.H"
-#include "calcMag.H"
+#include "mag.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@@ -34,14 +34,14 @@ namespace Foam
{
namespace functionObjects
{
- defineTypeNameAndDebug(calcMag, 0);
+ defineTypeNameAndDebug(mag, 0);
}
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-Foam::functionObjects::calcMag::calcMag
+Foam::functionObjects::mag::mag
(
const word& name,
const objectRegistry& obr,
@@ -58,7 +58,7 @@ Foam::functionObjects::calcMag::calcMag
}
-bool Foam::functionObjects::calcMag::viable
+bool Foam::functionObjects::mag::viable
(
const word& name,
const objectRegistry& obr,
@@ -73,13 +73,13 @@ bool Foam::functionObjects::calcMag::viable
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
-Foam::functionObjects::calcMag::~calcMag()
+Foam::functionObjects::mag::~mag()
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
-void Foam::functionObjects::calcMag::read(const dictionary& dict)
+void Foam::functionObjects::mag::read(const dictionary& dict)
{
dict.lookup("fieldName") >> fieldName_;
dict.lookup("resultName") >> resultName_;
@@ -91,7 +91,7 @@ void Foam::functionObjects::calcMag::read(const dictionary& dict)
}
-void Foam::functionObjects::calcMag::execute()
+void Foam::functionObjects::mag::execute()
{
bool processed = false;
@@ -109,17 +109,17 @@ void Foam::functionObjects::calcMag::execute()
}
-void Foam::functionObjects::calcMag::end()
+void Foam::functionObjects::mag::end()
{
execute();
}
-void Foam::functionObjects::calcMag::timeSet()
+void Foam::functionObjects::mag::timeSet()
{}
-void Foam::functionObjects::calcMag::write()
+void Foam::functionObjects::mag::write()
{
if (obr_.foundObject(resultName_))
{
diff --git a/src/postProcessing/functionObjects/fvTools/calcMag/calcMag.H b/src/postProcessing/functionObjects/field/mag/mag.H
similarity index 90%
rename from src/postProcessing/functionObjects/fvTools/calcMag/calcMag.H
rename to src/postProcessing/functionObjects/field/mag/mag.H
index d8cb5ca3d..13de0cc07 100644
--- a/src/postProcessing/functionObjects/fvTools/calcMag/calcMag.H
+++ b/src/postProcessing/functionObjects/field/mag/mag.H
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see .
Class
- Foam::functionObjects::calcMag
+ Foam::functionObjects::mag
Group
grpFVFunctionObjects
@@ -33,13 +33,13 @@ Description
volume or surface scalar field.
SourceFiles
- calcMag.C
- IOcalcMag.H
+ mag.C
+ IOmag.H
\*---------------------------------------------------------------------------*/
-#ifndef calcMag_H
-#define calcMag_H
+#ifndef functionObjects_mag_H
+#define functionObjects_mag_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
@@ -63,14 +63,14 @@ namespace functionObjects
{
/*---------------------------------------------------------------------------*\
- Class calcMag Declaration
+ Class mag Declaration
\*---------------------------------------------------------------------------*/
-class calcMag
+class mag
{
// Private data
- //- Name of this calcMag object
+ //- Name of this mag object
word name_;
//- Reference to the database
@@ -99,23 +99,23 @@ class calcMag
);
//- Disallow default bitwise copy construct
- calcMag(const calcMag&);
+ mag(const mag&);
//- Disallow default bitwise assignment
- void operator=(const calcMag&);
+ void operator=(const mag&);
public:
//- Runtime type information
- TypeName("calcMag");
+ TypeName("mag");
// Constructors
//- Construct for given objectRegistry and dictionary.
// Allow the possibility to load fields from files
- calcMag
+ mag
(
const word& name,
const objectRegistry&,
@@ -135,18 +135,18 @@ public:
//- Destructor
- virtual ~calcMag();
+ virtual ~mag();
// Member Functions
- //- Return name of the set of calcMag
+ //- Return name of the set of mag
virtual const word& name() const
{
return name_;
}
- //- Read the calcMag data
+ //- Read the mag data
virtual void read(const dictionary&);
//- Execute, currently does nothing
@@ -158,7 +158,7 @@ public:
//- Called when time was set at the end of the Time::operator++
virtual void timeSet();
- //- Calculate the calcMag and write
+ //- Calculate the mag and write
virtual void write();
//- Update for changes of mesh
@@ -179,7 +179,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
- #include "calcMagTemplates.C"
+ #include "magTemplates.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradFunctionObject.C b/src/postProcessing/functionObjects/field/mag/magFunctionObject.C
similarity index 86%
rename from src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradFunctionObject.C
rename to src/postProcessing/functionObjects/field/mag/magFunctionObject.C
index 3e2d1e669..b615fb897 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradFunctionObject.C
+++ b/src/postProcessing/functionObjects/field/mag/magFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -23,18 +23,18 @@ License
\*---------------------------------------------------------------------------*/
-#include "calcFvcGradFunctionObject.H"
+#include "magFunctionObject.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam
{
- defineNamedTemplateTypeNameAndDebug(calcFvcGradFunctionObject, 0);
+ defineNamedTemplateTypeNameAndDebug(magFunctionObject, 0);
addToRunTimeSelectionTable
(
functionObject,
- calcFvcGradFunctionObject,
+ magFunctionObject,
dictionary
);
}
diff --git a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradFunctionObject.H b/src/postProcessing/functionObjects/field/mag/magFunctionObject.H
similarity index 81%
rename from src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradFunctionObject.H
rename to src/postProcessing/functionObjects/field/mag/magFunctionObject.H
index a36516740..f518dd513 100644
--- a/src/postProcessing/functionObjects/fvTools/calcFvcGrad/calcFvcGradFunctionObject.H
+++ b/src/postProcessing/functionObjects/field/mag/magFunctionObject.H
@@ -22,29 +22,29 @@ License
along with OpenFOAM. If not, see .
Typedef
- Foam::calcFvcGradFunctionObject
+ Foam::magFunctionObject
Description
- FunctionObject wrapper around calcFvcGrad to allow it to be created
+ FunctionObject wrapper around mag to allow it to be created
via the functions entry within controlDict.
SourceFiles
- calcFvcGradFunctionObject.C
+ magFunctionObject.C
\*---------------------------------------------------------------------------*/
-#ifndef calcFvcGradFunctionObject_H
-#define calcFvcGradFunctionObject_H
+#ifndef magFunctionObject_H
+#define magFunctionObject_H
-#include "calcFvcGrad.H"
+#include "mag.H"
#include "OutputFilterFunctionObject.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
- typedef OutputFilterFunctionObject
- calcFvcGradFunctionObject;
+ typedef OutputFilterFunctionObject
+ magFunctionObject;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/fvTools/calcMag/calcMagTemplates.C b/src/postProcessing/functionObjects/field/mag/magTemplates.C
similarity index 95%
rename from src/postProcessing/functionObjects/fvTools/calcMag/calcMagTemplates.C
rename to src/postProcessing/functionObjects/field/mag/magTemplates.C
index 8b942e95a..1a2e107b7 100644
--- a/src/postProcessing/functionObjects/fvTools/calcMag/calcMagTemplates.C
+++ b/src/postProcessing/functionObjects/field/mag/magTemplates.C
@@ -29,7 +29,7 @@ License
#include "surfaceFields.H"
template
-FieldType& Foam::functionObjects::calcMag::magField
+FieldType& Foam::functionObjects::mag::magField
(
const word& magName,
const dimensionSet& dims
@@ -68,7 +68,7 @@ FieldType& Foam::functionObjects::calcMag::magField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template
-void Foam::functionObjects::calcMag::calc
+void Foam::functionObjects::mag::calc
(
const word& fieldName,
const word& resultName,
@@ -87,7 +87,7 @@ void Foam::functionObjects::calcMag::calc
volScalarField& field =
magField(resultName_, vf.dimensions());
- field = mag(vf);
+ field = Foam::mag(vf);
processed = true;
}
@@ -98,7 +98,7 @@ void Foam::functionObjects::calcMag::calc
surfaceScalarField& field =
magField(resultName_, sf.dimensions());
- field = mag(sf);
+ field = Foam::mag(sf);
processed = true;
}
diff --git a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.H b/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.H
index a063ebf15..f3edeaa70 100644
--- a/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.H
+++ b/src/postProcessing/functionObjects/field/nearWallFields/nearWallFields.H
@@ -70,8 +70,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef nearWallFields_H
-#define nearWallFields_H
+#ifndef functionObjects_nearWallFields_H
+#define functionObjects_nearWallFields_H
#include "OFstream.H"
#include "volFields.H"
diff --git a/src/postProcessing/functionObjects/field/processorField/processorField.H b/src/postProcessing/functionObjects/field/processorField/processorField.H
index aeec8f811..8b1a71416 100644
--- a/src/postProcessing/functionObjects/field/processorField/processorField.H
+++ b/src/postProcessing/functionObjects/field/processorField/processorField.H
@@ -57,8 +57,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef processorField_H
-#define processorField_H
+#ifndef functionObjects_processorField_H
+#define functionObjects_processorField_H
#include "OFstream.H"
#include "pointFieldFwd.H"
diff --git a/src/postProcessing/functionObjects/field/readFields/readFields.H b/src/postProcessing/functionObjects/field/readFields/readFields.H
index c4500f4f4..d0669ebe3 100644
--- a/src/postProcessing/functionObjects/field/readFields/readFields.H
+++ b/src/postProcessing/functionObjects/field/readFields/readFields.H
@@ -63,8 +63,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef readFields_H
-#define readFields_H
+#ifndef functionObjects_readFields_H
+#define functionObjects_readFields_H
#include "OFstream.H"
#include "pointFieldFwd.H"
diff --git a/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H b/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H
index 108c17ad8..0a686daca 100644
--- a/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H
+++ b/src/postProcessing/functionObjects/field/regionSizeDistribution/regionSizeDistribution.H
@@ -103,8 +103,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef regionSizeDistribution_H
-#define regionSizeDistribution_H
+#ifndef functionObjects_regionSizeDistribution_H
+#define functionObjects_regionSizeDistribution_H
#include "functionObjectFiles.H"
#include "pointFieldFwd.H"
diff --git a/src/postProcessing/functionObjects/field/streamLine/streamLine.H b/src/postProcessing/functionObjects/field/streamLine/streamLine.H
index c0f280544..ede9683fa 100644
--- a/src/postProcessing/functionObjects/field/streamLine/streamLine.H
+++ b/src/postProcessing/functionObjects/field/streamLine/streamLine.H
@@ -100,8 +100,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef streamLine_H
-#define streamLine_H
+#ifndef functionObjects_streamLine_H
+#define functionObjects_streamLine_H
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
diff --git a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H b/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H
index aed3e2aaa..831a56435 100644
--- a/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H
+++ b/src/postProcessing/functionObjects/field/surfaceInterpolateFields/surfaceInterpolateFields.H
@@ -67,8 +67,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef surfaceInterpolateFields_H
-#define surfaceInterpolateFields_H
+#ifndef functionObjects_surfaceInterpolateFields_H
+#define functionObjects_surfaceInterpolateFields_H
#include "OFstream.H"
#include "surfaceFields.H"
diff --git a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H b/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H
index 84c566be8..b8e269717 100644
--- a/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H
+++ b/src/postProcessing/functionObjects/field/wallBoundedStreamLine/wallBoundedStreamLine.H
@@ -100,8 +100,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef wallBoundedStreamLine_H
-#define wallBoundedStreamLine_H
+#ifndef functionObjects_wallBoundedStreamLine_H
+#define functionObjects_wallBoundedStreamLine_H
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
diff --git a/src/postProcessing/functionObjects/forces/Make/files b/src/postProcessing/functionObjects/forces/Make/files
index 8b91d9092..f1384ada7 100644
--- a/src/postProcessing/functionObjects/forces/Make/files
+++ b/src/postProcessing/functionObjects/forces/Make/files
@@ -1,3 +1,9 @@
+pressureTools/pressureTools.C
+pressureTools/pressureToolsFunctionObject.C
+
+wallShearStress/wallShearStress.C
+wallShearStress/wallShearStressFunctionObject.C
+
forces/forces.C
forces/forcesFunctionObject.C
diff --git a/src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H b/src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H
index cca8e312e..40ad36728 100644
--- a/src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H
+++ b/src/postProcessing/functionObjects/forces/forceCoeffs/forceCoeffs.H
@@ -90,8 +90,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef forceCoeffs_H
-#define forceCoeffs_H
+#ifndef functionObjects_forceCoeffs_H
+#define functionObjects_forceCoeffs_H
#include "forces.H"
diff --git a/src/postProcessing/functionObjects/forces/forces/forces.H b/src/postProcessing/functionObjects/forces/forces/forces.H
index e6a85853c..c71881806 100644
--- a/src/postProcessing/functionObjects/forces/forces/forces.H
+++ b/src/postProcessing/functionObjects/forces/forces/forces.H
@@ -110,8 +110,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef forces_H
-#define forces_H
+#ifndef functionObjects_forces_H
+#define functionObjects_forces_H
#include "functionObjectFiles.H"
#include "coordinateSystem.H"
diff --git a/src/postProcessing/functionObjects/utilities/pressureTools/IOpressureTools.H b/src/postProcessing/functionObjects/forces/pressureTools/IOpressureTools.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/pressureTools/IOpressureTools.H
rename to src/postProcessing/functionObjects/forces/pressureTools/IOpressureTools.H
diff --git a/src/postProcessing/functionObjects/utilities/pressureTools/pressureTools.C b/src/postProcessing/functionObjects/forces/pressureTools/pressureTools.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/pressureTools/pressureTools.C
rename to src/postProcessing/functionObjects/forces/pressureTools/pressureTools.C
diff --git a/src/postProcessing/functionObjects/utilities/pressureTools/pressureTools.H b/src/postProcessing/functionObjects/forces/pressureTools/pressureTools.H
similarity index 99%
rename from src/postProcessing/functionObjects/utilities/pressureTools/pressureTools.H
rename to src/postProcessing/functionObjects/forces/pressureTools/pressureTools.H
index d06fb776a..67a04f846 100644
--- a/src/postProcessing/functionObjects/utilities/pressureTools/pressureTools.H
+++ b/src/postProcessing/functionObjects/forces/pressureTools/pressureTools.H
@@ -106,8 +106,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef pressureTools_H
-#define pressureTools_H
+#ifndef functionObjects_pressureTools_H
+#define functionObjects_pressureTools_H
#include "volFieldsFwd.H"
#include "dimensionedScalar.H"
diff --git a/src/postProcessing/functionObjects/utilities/pressureTools/pressureToolsFunctionObject.C b/src/postProcessing/functionObjects/forces/pressureTools/pressureToolsFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/utilities/pressureTools/pressureToolsFunctionObject.C
rename to src/postProcessing/functionObjects/forces/pressureTools/pressureToolsFunctionObject.C
index a512c193c..e4dedce24 100644
--- a/src/postProcessing/functionObjects/utilities/pressureTools/pressureToolsFunctionObject.C
+++ b/src/postProcessing/functionObjects/forces/pressureTools/pressureToolsFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/utilities/pressureTools/pressureToolsFunctionObject.H b/src/postProcessing/functionObjects/forces/pressureTools/pressureToolsFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/pressureTools/pressureToolsFunctionObject.H
rename to src/postProcessing/functionObjects/forces/pressureTools/pressureToolsFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/wallShearStress/IOwallShearStress.H b/src/postProcessing/functionObjects/forces/wallShearStress/IOwallShearStress.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/wallShearStress/IOwallShearStress.H
rename to src/postProcessing/functionObjects/forces/wallShearStress/IOwallShearStress.H
diff --git a/src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStress.C b/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.C
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStress.C
rename to src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.C
diff --git a/src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStress.H b/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.H
similarity index 98%
rename from src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStress.H
rename to src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.H
index 519851b4a..cd00e7246 100644
--- a/src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStress.H
+++ b/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStress.H
@@ -70,8 +70,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef wallShearStress_H
-#define wallShearStress_H
+#ifndef functionObjects_wallShearStress_H
+#define functionObjects_wallShearStress_H
#include "functionObjectFiles.H"
#include "volFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStressFunctionObject.C b/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStressFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStressFunctionObject.C
rename to src/postProcessing/functionObjects/forces/wallShearStress/wallShearStressFunctionObject.C
index 871e6b037..a8a05500e 100644
--- a/src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStressFunctionObject.C
+++ b/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStressFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStressFunctionObject.H b/src/postProcessing/functionObjects/forces/wallShearStress/wallShearStressFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/utilities/wallShearStress/wallShearStressFunctionObject.H
rename to src/postProcessing/functionObjects/forces/wallShearStress/wallShearStressFunctionObject.H
diff --git a/src/postProcessing/functionObjects/fvTools/Make/files b/src/postProcessing/functionObjects/fvTools/Make/files
deleted file mode 100644
index f5940e8ce..000000000
--- a/src/postProcessing/functionObjects/fvTools/Make/files
+++ /dev/null
@@ -1,10 +0,0 @@
-calcFvcDiv/calcFvcDiv.C
-calcFvcDiv/calcFvcDivFunctionObject.C
-
-calcFvcGrad/calcFvcGrad.C
-calcFvcGrad/calcFvcGradFunctionObject.C
-
-calcMag/calcMag.C
-calcMag/calcMagFunctionObject.C
-
-LIB = $(FOAM_LIBBIN)/libFVFunctionObjects
diff --git a/src/postProcessing/functionObjects/fvTools/Make/options b/src/postProcessing/functionObjects/fvTools/Make/options
deleted file mode 100644
index 71b787396..000000000
--- a/src/postProcessing/functionObjects/fvTools/Make/options
+++ /dev/null
@@ -1,5 +0,0 @@
-EXE_INC = \
- -I$(LIB_SRC)/finiteVolume/lnInclude
-
-LIB_LIBS = \
- -lfiniteVolume
diff --git a/src/postProcessing/functionObjects/fvTools/doc/fvToolsFunctionObjectsDoc.H b/src/postProcessing/functionObjects/fvTools/doc/fvToolsFunctionObjectsDoc.H
deleted file mode 100644
index 8d403604a..000000000
--- a/src/postProcessing/functionObjects/fvTools/doc/fvToolsFunctionObjectsDoc.H
+++ /dev/null
@@ -1,30 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
- \\ / O peration |
- \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
- \\/ M anipulation |
--------------------------------------------------------------------------------
-License
- This file is part of OpenFOAM.
-
- OpenFOAM is free software: you can redistribute it and/or modify it under
- the terms of the GNU General Public License as published by the Free
- Software Foundation, either version 3 of the License, or (at your option)
- any later version.
-
- OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- details.
-
- You should have received a copy of the GNU General Public License along with
- OpenFOAM. If not, see .
-
-\defgroup grpFVFunctionObjects Finite volume tools function objects
-@{
- \ingroup grpFunctionObjects
- This group contains finite-volume tools-based function objects
-@}
-
-\*---------------------------------------------------------------------------*/
diff --git a/src/postProcessing/functionObjects/jobControl/Make/files b/src/postProcessing/functionObjects/jobControl/Make/files
deleted file mode 100644
index 043b5dc02..000000000
--- a/src/postProcessing/functionObjects/jobControl/Make/files
+++ /dev/null
@@ -1,4 +0,0 @@
-abort/abort.C
-abort/abortFunctionObject.C
-
-LIB = $(FOAM_LIBBIN)/libjobControl
diff --git a/src/postProcessing/functionObjects/jobControl/jobControlFunctionObjectsDoc.H b/src/postProcessing/functionObjects/jobControl/jobControlFunctionObjectsDoc.H
deleted file mode 100644
index 34a586b20..000000000
--- a/src/postProcessing/functionObjects/jobControl/jobControlFunctionObjectsDoc.H
+++ /dev/null
@@ -1,30 +0,0 @@
-/*---------------------------------------------------------------------------*\
- ========= |
- \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
- \\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
- \\/ M anipulation |
--------------------------------------------------------------------------------
-License
- This file is part of OpenFOAM.
-
- OpenFOAM is free software: you can redistribute it and/or modify it under
- the terms of the GNU General Public License as published by the Free
- Software Foundation, either version 3 of the License, or (at your option)
- any later version.
-
- OpenFOAM is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- details.
-
- You should have received a copy of the GNU General Public License along with
- OpenFOAM. If not, see .
-
-\defgroup grpJobControlFunctionObjects Job control function objects
-@{
- \ingroup grpFunctionObjects
- This group contains job control-based function objects
-@}
-
-\*---------------------------------------------------------------------------*/
diff --git a/src/postProcessing/functionObjects/cloud/Make/files b/src/postProcessing/functionObjects/lagrangian/Make/files
similarity index 54%
rename from src/postProcessing/functionObjects/cloud/Make/files
rename to src/postProcessing/functionObjects/lagrangian/Make/files
index e8515a093..3445d2f62 100644
--- a/src/postProcessing/functionObjects/cloud/Make/files
+++ b/src/postProcessing/functionObjects/lagrangian/Make/files
@@ -1,4 +1,4 @@
cloudInfo/cloudInfo.C
cloudInfo/cloudInfoFunctionObject.C
-LIB = $(FOAM_LIBBIN)/libcloudFunctionObjects
+LIB = $(FOAM_LIBBIN)/liblagrangianFunctionObjects
diff --git a/src/postProcessing/functionObjects/cloud/Make/options b/src/postProcessing/functionObjects/lagrangian/Make/options
similarity index 100%
rename from src/postProcessing/functionObjects/cloud/Make/options
rename to src/postProcessing/functionObjects/lagrangian/Make/options
diff --git a/src/postProcessing/functionObjects/cloud/cloudInfo/IOcloudInfo.H b/src/postProcessing/functionObjects/lagrangian/cloudInfo/IOcloudInfo.H
similarity index 95%
rename from src/postProcessing/functionObjects/cloud/cloudInfo/IOcloudInfo.H
rename to src/postProcessing/functionObjects/lagrangian/cloudInfo/IOcloudInfo.H
index 6e0eda072..4d1740ad7 100644
--- a/src/postProcessing/functionObjects/cloud/cloudInfo/IOcloudInfo.H
+++ b/src/postProcessing/functionObjects/lagrangian/cloudInfo/IOcloudInfo.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfo.C b/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.C
similarity index 100%
rename from src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfo.C
rename to src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.C
diff --git a/src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfo.H b/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.H
similarity index 98%
rename from src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfo.H
rename to src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.H
index 895dd4a2a..54c119cb2 100644
--- a/src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfo.H
+++ b/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfo.H
@@ -69,8 +69,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef cloudInfo_H
-#define cloudInfo_H
+#ifndef functionObjects_cloudInfo_H
+#define functionObjects_cloudInfo_H
#include "functionObjectFiles.H"
#include "PtrList.H"
diff --git a/src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfoFunctionObject.C b/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfoFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfoFunctionObject.C
rename to src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfoFunctionObject.C
index 8197da4ec..4ac835ec9 100644
--- a/src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfoFunctionObject.C
+++ b/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfoFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfoFunctionObject.H b/src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfoFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/cloud/cloudInfo/cloudInfoFunctionObject.H
rename to src/postProcessing/functionObjects/lagrangian/cloudInfo/cloudInfoFunctionObject.H
diff --git a/src/postProcessing/functionObjects/cloud/cloudInfo/postProcessingDict b/src/postProcessing/functionObjects/lagrangian/cloudInfo/postProcessingDict
similarity index 100%
rename from src/postProcessing/functionObjects/cloud/cloudInfo/postProcessingDict
rename to src/postProcessing/functionObjects/lagrangian/cloudInfo/postProcessingDict
diff --git a/src/postProcessing/functionObjects/cloud/cloudFunctionObjectsDoc.H b/src/postProcessing/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H
similarity index 82%
rename from src/postProcessing/functionObjects/cloud/cloudFunctionObjectsDoc.H
rename to src/postProcessing/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H
index 2ac4b66db..591738965 100644
--- a/src/postProcessing/functionObjects/cloud/cloudFunctionObjectsDoc.H
+++ b/src/postProcessing/functionObjects/lagrangian/lagrangianFunctionObjectsDoc.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -21,13 +21,13 @@ License
You should have received a copy of the GNU General Public License along with
OpenFOAM. If not, see .
-\defgroup grpCloudFunctionObjects Cloud function objects
+\defgroup grpLagrangianFunctionObjects Lagrangian function objects
@{
\ingroup grpFunctionObjects
- This group contains cloud-based function objects.
+ This group contains lagrangian-based function objects.
Function objects in this group are packaged into the
- libcloudFunctionObjects.so library.
+ liblagrangianFunctionObjects.so library.
@}
\*---------------------------------------------------------------------------*/
diff --git a/src/postProcessing/functionObjects/systemCall/Make/options b/src/postProcessing/functionObjects/systemCall/Make/options
deleted file mode 100644
index e69de29bb..000000000
diff --git a/src/postProcessing/functionObjects/utilities/CourantNo/CourantNo.H b/src/postProcessing/functionObjects/utilities/CourantNo/CourantNo.H
index a0796ea7a..4f5bd2cc1 100644
--- a/src/postProcessing/functionObjects/utilities/CourantNo/CourantNo.H
+++ b/src/postProcessing/functionObjects/utilities/CourantNo/CourantNo.H
@@ -38,8 +38,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef CourantNo_H
-#define CourantNo_H
+#ifndef functionObjects_CourantNo_H
+#define functionObjects_CourantNo_H
#include "volFields.H"
diff --git a/src/postProcessing/functionObjects/utilities/Lambda2/Lambda2.H b/src/postProcessing/functionObjects/utilities/Lambda2/Lambda2.H
index a394b9b5a..42a810895 100644
--- a/src/postProcessing/functionObjects/utilities/Lambda2/Lambda2.H
+++ b/src/postProcessing/functionObjects/utilities/Lambda2/Lambda2.H
@@ -38,8 +38,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef Lambda2_H
-#define Lambda2_H
+#ifndef functionObjects_Lambda2_H
+#define functionObjects_Lambda2_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/utilities/Make/files b/src/postProcessing/functionObjects/utilities/Make/files
index 4c38b4ba6..b9601ff78 100644
--- a/src/postProcessing/functionObjects/utilities/Make/files
+++ b/src/postProcessing/functionObjects/utilities/Make/files
@@ -18,9 +18,6 @@ blendingFactor/blendingFactorFunctionObject.C
dsmcFields/dsmcFields.C
dsmcFields/dsmcFieldsFunctionObject.C
-pressureTools/pressureTools.C
-pressureTools/pressureToolsFunctionObject.C
-
residuals/residuals.C
residuals/residualsFunctionObject.C
@@ -36,12 +33,26 @@ turbulenceFields/turbulenceFieldsFunctionObject.C
vorticity/vorticity.C
vorticity/vorticityFunctionObject.C
-wallShearStress/wallShearStress.C
-wallShearStress/wallShearStressFunctionObject.C
-
yPlus/yPlus.C
yPlus/yPlusFunctionObject.C
setTimeStep/setTimeStepFunctionObject.C
+systemCall/systemCall.C
+systemCall/systemCallFunctionObject.C
+
+abort/abort.C
+
+partialWrite/partialWrite.C
+partialWrite/partialWriteFunctionObject.C
+
+removeRegisteredObject/removeRegisteredObject.C
+removeRegisteredObject/removeRegisteredObjectFunctionObject.C
+
+writeDictionary/writeDictionary.C
+writeDictionary/writeDictionaryFunctionObject.C
+
+writeRegisteredObject/writeRegisteredObject.C
+writeRegisteredObject/writeRegisteredObjectFunctionObject.C
+
LIB = $(FOAM_LIBBIN)/libutilityFunctionObjects
diff --git a/src/postProcessing/functionObjects/utilities/Make/options b/src/postProcessing/functionObjects/utilities/Make/options
index ad4e27c19..6ff1c14f3 100644
--- a/src/postProcessing/functionObjects/utilities/Make/options
+++ b/src/postProcessing/functionObjects/utilities/Make/options
@@ -21,8 +21,6 @@ LIB_LIBS = \
-lcompressibleTransportModels \
-lfluidThermophysicalModels \
-lspecie \
- -llagrangian \
- -lDSMC \
-lfiniteVolume \
-lmeshTools \
-lsampling
diff --git a/src/postProcessing/functionObjects/utilities/Peclet/Peclet.H b/src/postProcessing/functionObjects/utilities/Peclet/Peclet.H
index dba87188a..a47e2236a 100644
--- a/src/postProcessing/functionObjects/utilities/Peclet/Peclet.H
+++ b/src/postProcessing/functionObjects/utilities/Peclet/Peclet.H
@@ -37,8 +37,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef Peclet_H
-#define Peclet_H
+#ifndef functionObjects_Peclet_H
+#define functionObjects_Peclet_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/utilities/Q/Q.H b/src/postProcessing/functionObjects/utilities/Q/Q.H
index 56e00833c..63ae36d77 100644
--- a/src/postProcessing/functionObjects/utilities/Q/Q.H
+++ b/src/postProcessing/functionObjects/utilities/Q/Q.H
@@ -41,8 +41,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef Q_H
-#define Q_H
+#ifndef functionObjects_Q_H
+#define functionObjects_Q_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/jobControl/abort/IOabort.H b/src/postProcessing/functionObjects/utilities/abort/IOabort.H
similarity index 100%
rename from src/postProcessing/functionObjects/jobControl/abort/IOabort.H
rename to src/postProcessing/functionObjects/utilities/abort/IOabort.H
diff --git a/src/postProcessing/functionObjects/jobControl/abort/abort.C b/src/postProcessing/functionObjects/utilities/abort/abort.C
similarity index 100%
rename from src/postProcessing/functionObjects/jobControl/abort/abort.C
rename to src/postProcessing/functionObjects/utilities/abort/abort.C
diff --git a/src/postProcessing/functionObjects/jobControl/abort/abort.H b/src/postProcessing/functionObjects/utilities/abort/abort.H
similarity index 98%
rename from src/postProcessing/functionObjects/jobControl/abort/abort.H
rename to src/postProcessing/functionObjects/utilities/abort/abort.H
index 29dc9c22c..4224d980b 100644
--- a/src/postProcessing/functionObjects/jobControl/abort/abort.H
+++ b/src/postProcessing/functionObjects/utilities/abort/abort.H
@@ -42,8 +42,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef abort_H
-#define abort_H
+#ifndef functionObjects_abort_H
+#define functionObjects_abort_H
#include "NamedEnum.H"
diff --git a/src/postProcessing/functionObjects/jobControl/abort/abortFunctionObject.C b/src/postProcessing/functionObjects/utilities/abort/abortFunctionObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/jobControl/abort/abortFunctionObject.C
rename to src/postProcessing/functionObjects/utilities/abort/abortFunctionObject.C
diff --git a/src/postProcessing/functionObjects/jobControl/abort/abortFunctionObject.H b/src/postProcessing/functionObjects/utilities/abort/abortFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/jobControl/abort/abortFunctionObject.H
rename to src/postProcessing/functionObjects/utilities/abort/abortFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/blendingFactor/blendingFactor.H b/src/postProcessing/functionObjects/utilities/blendingFactor/blendingFactor.H
index 8e739442c..72e355159 100644
--- a/src/postProcessing/functionObjects/utilities/blendingFactor/blendingFactor.H
+++ b/src/postProcessing/functionObjects/utilities/blendingFactor/blendingFactor.H
@@ -39,8 +39,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef blendingFactor_H
-#define blendingFactor_H
+#ifndef functionObjects_blendingFactor_H
+#define functionObjects_blendingFactor_H
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H b/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H
index ae07bb034..bd3bf8107 100644
--- a/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H
+++ b/src/postProcessing/functionObjects/utilities/codedFunctionObject/codedFunctionObject.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@@ -74,8 +74,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef codedFunctionObject_H
-#define codedFunctionObject_H
+#ifndef functionObjects_codedFunctionObject_H
+#define functionObjects_codedFunctionObject_H
#include "functionObject.H"
#include "codedBase.H"
diff --git a/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H b/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H
index e702a01ab..040b02c8b 100644
--- a/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H
+++ b/src/postProcessing/functionObjects/utilities/dsmcFields/dsmcFields.H
@@ -41,8 +41,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef dsmcFields_H
-#define dsmcFields_H
+#ifndef functionObjects_dsmcFields_H
+#define functionObjects_dsmcFields_H
#include "typeInfo.H"
#include "autoPtr.H"
diff --git a/src/postProcessing/functionObjects/IO/partialWrite/IOpartialWrite.H b/src/postProcessing/functionObjects/utilities/partialWrite/IOpartialWrite.H
similarity index 95%
rename from src/postProcessing/functionObjects/IO/partialWrite/IOpartialWrite.H
rename to src/postProcessing/functionObjects/utilities/partialWrite/IOpartialWrite.H
index a9d40914c..a3e8842e4 100644
--- a/src/postProcessing/functionObjects/IO/partialWrite/IOpartialWrite.H
+++ b/src/postProcessing/functionObjects/utilities/partialWrite/IOpartialWrite.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/controlDict b/src/postProcessing/functionObjects/utilities/partialWrite/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/IO/controlDict
rename to src/postProcessing/functionObjects/utilities/partialWrite/controlDict
diff --git a/src/postProcessing/functionObjects/IO/partialWrite/partialWrite.C b/src/postProcessing/functionObjects/utilities/partialWrite/partialWrite.C
similarity index 100%
rename from src/postProcessing/functionObjects/IO/partialWrite/partialWrite.C
rename to src/postProcessing/functionObjects/utilities/partialWrite/partialWrite.C
diff --git a/src/postProcessing/functionObjects/IO/partialWrite/partialWrite.H b/src/postProcessing/functionObjects/utilities/partialWrite/partialWrite.H
similarity index 98%
rename from src/postProcessing/functionObjects/IO/partialWrite/partialWrite.H
rename to src/postProcessing/functionObjects/utilities/partialWrite/partialWrite.H
index 76a18f5fb..e5ba6ff93 100644
--- a/src/postProcessing/functionObjects/IO/partialWrite/partialWrite.H
+++ b/src/postProcessing/functionObjects/utilities/partialWrite/partialWrite.H
@@ -62,8 +62,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef partialWrite_H
-#define partialWrite_H
+#ifndef functionObjects_partialWrite_H
+#define functionObjects_partialWrite_H
#include "HashSet.H"
#include "runTimeSelectionTables.H"
diff --git a/src/postProcessing/functionObjects/IO/partialWrite/partialWriteFunctionObject.C b/src/postProcessing/functionObjects/utilities/partialWrite/partialWriteFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/IO/partialWrite/partialWriteFunctionObject.C
rename to src/postProcessing/functionObjects/utilities/partialWrite/partialWriteFunctionObject.C
index 89166fbbf..993838878 100644
--- a/src/postProcessing/functionObjects/IO/partialWrite/partialWriteFunctionObject.C
+++ b/src/postProcessing/functionObjects/utilities/partialWrite/partialWriteFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/partialWrite/partialWriteFunctionObject.H b/src/postProcessing/functionObjects/utilities/partialWrite/partialWriteFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/IO/partialWrite/partialWriteFunctionObject.H
rename to src/postProcessing/functionObjects/utilities/partialWrite/partialWriteFunctionObject.H
diff --git a/src/postProcessing/functionObjects/IO/partialWrite/partialWriteTemplates.C b/src/postProcessing/functionObjects/utilities/partialWrite/partialWriteTemplates.C
similarity index 100%
rename from src/postProcessing/functionObjects/IO/partialWrite/partialWriteTemplates.C
rename to src/postProcessing/functionObjects/utilities/partialWrite/partialWriteTemplates.C
diff --git a/src/postProcessing/functionObjects/IO/removeRegisteredObject/IOremoveRegisteredObject.H b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/IOremoveRegisteredObject.H
similarity index 95%
rename from src/postProcessing/functionObjects/IO/removeRegisteredObject/IOremoveRegisteredObject.H
rename to src/postProcessing/functionObjects/utilities/removeRegisteredObject/IOremoveRegisteredObject.H
index d786378ed..66444807a 100644
--- a/src/postProcessing/functionObjects/IO/removeRegisteredObject/IOremoveRegisteredObject.H
+++ b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/IOremoveRegisteredObject.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObject.C b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObject.C
rename to src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.C
diff --git a/src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObject.H b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H
similarity index 98%
rename from src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObject.H
rename to src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H
index 5bbb16d92..b8a7da75b 100644
--- a/src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObject.H
+++ b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObject.H
@@ -58,8 +58,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef removeRegisteredObject_H
-#define removeRegisteredObject_H
+#ifndef functionObjects_removeRegisteredObject_H
+#define functionObjects_removeRegisteredObject_H
#include "wordList.H"
#include "runTimeSelectionTables.H"
diff --git a/src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObjectFunctionObject.C b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObjectFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObjectFunctionObject.C
rename to src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObjectFunctionObject.C
index 652e60e87..698b25d7c 100644
--- a/src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObjectFunctionObject.C
+++ b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObjectFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObjectFunctionObject.H b/src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObjectFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/IO/removeRegisteredObject/removeRegisteredObjectFunctionObject.H
rename to src/postProcessing/functionObjects/utilities/removeRegisteredObject/removeRegisteredObjectFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/residuals/residuals.H b/src/postProcessing/functionObjects/utilities/residuals/residuals.H
index 01a44e0c3..f3ee3c5c4 100644
--- a/src/postProcessing/functionObjects/utilities/residuals/residuals.H
+++ b/src/postProcessing/functionObjects/utilities/residuals/residuals.H
@@ -59,8 +59,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef residuals_H
-#define residuals_H
+#ifndef functionObjects_residuals_H
+#define functionObjects_residuals_H
#include "functionObjectFiles.H"
#include "primitiveFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H b/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H
index 21724bfb3..a1434b01c 100644
--- a/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H
+++ b/src/postProcessing/functionObjects/utilities/scalarTransport/scalarTransport.H
@@ -45,8 +45,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef scalarTransport_H
-#define scalarTransport_H
+#ifndef functionObjects_scalarTransport_H
+#define functionObjects_scalarTransport_H
#include "volFields.H"
#include "surfaceFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C b/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
index 36cef8238..6ea307928 100644
--- a/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
+++ b/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.C
@@ -29,6 +29,8 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam
+{
+namespace functionObjects
{
defineTypeNameAndDebug(setTimeStepFunctionObject, 0);
@@ -39,11 +41,12 @@ namespace Foam
dictionary
);
}
+}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
-Foam::setTimeStepFunctionObject::setTimeStepFunctionObject
+Foam::functionObjects::setTimeStepFunctionObject::setTimeStepFunctionObject
(
const word& name,
const Time& runTime,
@@ -60,43 +63,46 @@ Foam::setTimeStepFunctionObject::setTimeStepFunctionObject
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
-void Foam::setTimeStepFunctionObject::on()
+void Foam::functionObjects::setTimeStepFunctionObject::on()
{
enabled_ = true;
}
-void Foam::setTimeStepFunctionObject::off()
+void Foam::functionObjects::setTimeStepFunctionObject::off()
{
enabled_ = false;
}
-bool Foam::setTimeStepFunctionObject::start()
+bool Foam::functionObjects::setTimeStepFunctionObject::start()
{
return true;
}
-bool Foam::setTimeStepFunctionObject::execute(const bool forceWrite)
+bool Foam::functionObjects::setTimeStepFunctionObject::execute
+(
+ const bool forceWrite
+)
{
return true;
}
-bool Foam::setTimeStepFunctionObject::end()
+bool Foam::functionObjects::setTimeStepFunctionObject::end()
{
return true;
}
-bool Foam::setTimeStepFunctionObject::timeSet()
+bool Foam::functionObjects::setTimeStepFunctionObject::timeSet()
{
return true;
}
-bool Foam::setTimeStepFunctionObject::adjustTimeStep()
+bool Foam::functionObjects::setTimeStepFunctionObject::adjustTimeStep()
{
if (enabled())
{
@@ -114,7 +120,10 @@ bool Foam::setTimeStepFunctionObject::adjustTimeStep()
}
-bool Foam::setTimeStepFunctionObject::read(const dictionary& dict)
+bool Foam::functionObjects::setTimeStepFunctionObject::read
+(
+ const dictionary& dict
+)
{
enabled_ = dict.lookupOrDefault("enabled", true);
@@ -141,11 +150,17 @@ bool Foam::setTimeStepFunctionObject::read(const dictionary& dict)
}
-void Foam::setTimeStepFunctionObject::updateMesh(const mapPolyMesh& mpm)
+void Foam::functionObjects::setTimeStepFunctionObject::updateMesh
+(
+ const mapPolyMesh& mpm
+)
{}
-void Foam::setTimeStepFunctionObject::movePoints(const polyMesh& mesh)
+void Foam::functionObjects::setTimeStepFunctionObject::movePoints
+(
+ const polyMesh& mesh
+)
{}
diff --git a/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H b/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H
index 1749d3d4a..55a0a06d4 100644
--- a/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H
+++ b/src/postProcessing/functionObjects/utilities/setTimeStep/setTimeStepFunctionObject.H
@@ -39,8 +39,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef setTimeStepFunctionObject_H
-#define setTimeStepFunctionObject_H
+#ifndef functionObjects_setTimeStepFunctionObject_H
+#define functionObjects_setTimeStepFunctionObject_H
#include "functionObject.H"
#include "dictionary.H"
@@ -50,6 +50,8 @@ SourceFiles
namespace Foam
{
+namespace functionObjects
+{
/*---------------------------------------------------------------------------*\
Class setTimeStepFunctionObject Declaration
@@ -150,6 +152,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+} // End namespace functionObjects
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
diff --git a/src/postProcessing/functionObjects/systemCall/IOsystemCall.H b/src/postProcessing/functionObjects/utilities/systemCall/IOsystemCall.H
similarity index 95%
rename from src/postProcessing/functionObjects/systemCall/IOsystemCall.H
rename to src/postProcessing/functionObjects/utilities/systemCall/IOsystemCall.H
index cb823adbd..ef39f2ace 100644
--- a/src/postProcessing/functionObjects/systemCall/IOsystemCall.H
+++ b/src/postProcessing/functionObjects/utilities/systemCall/IOsystemCall.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/systemCall/Make/files b/src/postProcessing/functionObjects/utilities/systemCall/Make/files
similarity index 100%
rename from src/postProcessing/functionObjects/systemCall/Make/files
rename to src/postProcessing/functionObjects/utilities/systemCall/Make/files
diff --git a/src/postProcessing/functionObjects/jobControl/Make/options b/src/postProcessing/functionObjects/utilities/systemCall/Make/options
similarity index 100%
rename from src/postProcessing/functionObjects/jobControl/Make/options
rename to src/postProcessing/functionObjects/utilities/systemCall/Make/options
diff --git a/src/postProcessing/functionObjects/systemCall/controlDict b/src/postProcessing/functionObjects/utilities/systemCall/controlDict
similarity index 100%
rename from src/postProcessing/functionObjects/systemCall/controlDict
rename to src/postProcessing/functionObjects/utilities/systemCall/controlDict
diff --git a/src/postProcessing/functionObjects/systemCall/systemCall.C b/src/postProcessing/functionObjects/utilities/systemCall/systemCall.C
similarity index 100%
rename from src/postProcessing/functionObjects/systemCall/systemCall.C
rename to src/postProcessing/functionObjects/utilities/systemCall/systemCall.C
diff --git a/src/postProcessing/functionObjects/systemCall/systemCall.H b/src/postProcessing/functionObjects/utilities/systemCall/systemCall.H
similarity index 98%
rename from src/postProcessing/functionObjects/systemCall/systemCall.H
rename to src/postProcessing/functionObjects/utilities/systemCall/systemCall.H
index 38ec3deff..3219fe22d 100644
--- a/src/postProcessing/functionObjects/systemCall/systemCall.H
+++ b/src/postProcessing/functionObjects/utilities/systemCall/systemCall.H
@@ -84,8 +84,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef systemCall_H
-#define systemCall_H
+#ifndef functionObjects_systemCall_H
+#define functionObjects_systemCall_H
#include "stringList.H"
diff --git a/src/postProcessing/functionObjects/systemCall/systemCallFunctionObject.C b/src/postProcessing/functionObjects/utilities/systemCall/systemCallFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/systemCall/systemCallFunctionObject.C
rename to src/postProcessing/functionObjects/utilities/systemCall/systemCallFunctionObject.C
index f9855ecb0..0dfd7b6b0 100644
--- a/src/postProcessing/functionObjects/systemCall/systemCallFunctionObject.C
+++ b/src/postProcessing/functionObjects/utilities/systemCall/systemCallFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/systemCall/systemCallFunctionObject.H b/src/postProcessing/functionObjects/utilities/systemCall/systemCallFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/systemCall/systemCallFunctionObject.H
rename to src/postProcessing/functionObjects/utilities/systemCall/systemCallFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H b/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H
index 40d6ae37b..9a34d4a9c 100644
--- a/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H
+++ b/src/postProcessing/functionObjects/utilities/timeActivatedFileUpdate/timeActivatedFileUpdate.H
@@ -57,8 +57,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef timeActivatedFileUpdate_H
-#define timeActivatedFileUpdate_H
+#ifndef functionObjects_timeActivatedFileUpdate_H
+#define functionObjects_timeActivatedFileUpdate_H
#include "Tuple2.H"
diff --git a/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.H b/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.H
index c31eaceca..f3d98cfa1 100644
--- a/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.H
+++ b/src/postProcessing/functionObjects/utilities/turbulenceFields/turbulenceFields.H
@@ -84,8 +84,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef turbulenceFields_H
-#define turbulenceFields_H
+#ifndef functionObjects_turbulenceFields_H
+#define functionObjects_turbulenceFields_H
#include "HashSet.H"
#include "IOobject.H"
diff --git a/src/postProcessing/functionObjects/utilities/vorticity/vorticity.H b/src/postProcessing/functionObjects/utilities/vorticity/vorticity.H
index dd6a7dff0..0b4094f12 100644
--- a/src/postProcessing/functionObjects/utilities/vorticity/vorticity.H
+++ b/src/postProcessing/functionObjects/utilities/vorticity/vorticity.H
@@ -36,8 +36,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef vorticity_H
-#define vorticity_H
+#ifndef functionObjects_vorticity_H
+#define functionObjects_vorticity_H
#include "volFieldsFwd.H"
diff --git a/src/postProcessing/functionObjects/IO/writeDictionary/IOwriteDictionary.H b/src/postProcessing/functionObjects/utilities/writeDictionary/IOwriteDictionary.H
similarity index 95%
rename from src/postProcessing/functionObjects/IO/writeDictionary/IOwriteDictionary.H
rename to src/postProcessing/functionObjects/utilities/writeDictionary/IOwriteDictionary.H
index 87718cd6d..d7fbe3b91 100644
--- a/src/postProcessing/functionObjects/IO/writeDictionary/IOwriteDictionary.H
+++ b/src/postProcessing/functionObjects/utilities/writeDictionary/IOwriteDictionary.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/writeDictionary/writeDictionary.C b/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.C
similarity index 100%
rename from src/postProcessing/functionObjects/IO/writeDictionary/writeDictionary.C
rename to src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.C
diff --git a/src/postProcessing/functionObjects/IO/writeDictionary/writeDictionary.H b/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.H
similarity index 98%
rename from src/postProcessing/functionObjects/IO/writeDictionary/writeDictionary.H
rename to src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.H
index 3f822fa89..42e381832 100644
--- a/src/postProcessing/functionObjects/IO/writeDictionary/writeDictionary.H
+++ b/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionary.H
@@ -36,8 +36,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef writeDictionary_H
-#define writeDictionary_H
+#ifndef functionObjects_writeDictionary_H
+#define functionObjects_writeDictionary_H
#include "wordList.H"
#include "runTimeSelectionTables.H"
diff --git a/src/postProcessing/functionObjects/IO/writeDictionary/writeDictionaryFunctionObject.C b/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionaryFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/IO/writeDictionary/writeDictionaryFunctionObject.C
rename to src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionaryFunctionObject.C
index 712e7d9b3..f16f5921b 100644
--- a/src/postProcessing/functionObjects/IO/writeDictionary/writeDictionaryFunctionObject.C
+++ b/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionaryFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/writeDictionary/writeDictionaryFunctionObject.H b/src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionaryFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/IO/writeDictionary/writeDictionaryFunctionObject.H
rename to src/postProcessing/functionObjects/utilities/writeDictionary/writeDictionaryFunctionObject.H
diff --git a/src/postProcessing/functionObjects/IO/writeRegisteredObject/IOwriteRegisteredObject.H b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/IOwriteRegisteredObject.H
similarity index 95%
rename from src/postProcessing/functionObjects/IO/writeRegisteredObject/IOwriteRegisteredObject.H
rename to src/postProcessing/functionObjects/utilities/writeRegisteredObject/IOwriteRegisteredObject.H
index d57416548..727cae7ab 100644
--- a/src/postProcessing/functionObjects/IO/writeRegisteredObject/IOwriteRegisteredObject.H
+++ b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/IOwriteRegisteredObject.H
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict
new file mode 100644
index 000000000..a9e0fb2fe
--- /dev/null
+++ b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/controlDict
@@ -0,0 +1,122 @@
+/*--------------------------------*- C++ -*----------------------------------*\
+| ========= | |
+| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
+| \\ / O peration | Version: dev |
+| \\ / A nd | Web: www.OpenFOAM.org |
+| \\/ M anipulation | |
+\*---------------------------------------------------------------------------*/
+FoamFile
+{
+ version 2.0;
+ format ascii;
+ class dictionary;
+ object controlDict;
+}
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+// So we get a decent warning if we have multiple functionObject entries
+// with the same name.
+#inputMode error;
+
+application icoFoam;
+
+startFrom startTime;
+
+startTime 0;
+
+stopAt endTime;
+
+endTime 0.5;
+
+deltaT 0.005;
+
+writeControl timeStep;
+
+writeInterval 20;
+
+purgeWrite 0;
+
+writeFormat ascii;
+
+writePrecision 6;
+
+writeCompression uncompressed;
+
+timeFormat general;
+
+timePrecision 6;
+
+runTimeModifiable yes;
+
+functions
+{
+ partialWrite
+ {
+ // Write some registered objects more often than others.
+ // Above writeControl determines most frequent dump.
+
+ type partialWrite;
+
+ // Where to load it from
+ functionObjectLibs ("libIOFunctionObjects.so");
+
+ // Optional mesh region to operate on. Only one partialWrite per
+ // region allowed.
+ region wallFilmRegion;
+
+ // Execute upon options:
+ // timeStep
+ // outputTime
+ // adjustableTime
+ // runTime
+ // clockTime
+ // cpuTime
+ outputControl outputTime;
+
+ // Objects (fields or lagrangian fields in any of the clouds)
+ // to write every outputTime
+ objectNames (p positions nParticle);
+
+ // Write as normal every writeInterval'th outputTime.
+ outputInterval 1; // (timeStep, outputTime)
+
+ // Interval of time (sec) to write down(
+ writeInterval 10.5 //(adjustableTime, runTime, clockTime, cpuTime)
+ }
+
+ dumpObjects
+ {
+ // Forcibly write registered objects
+
+ type writeRegisteredObject;
+
+ // Where to load it from
+ functionObjectLibs ("libIOFunctionObjects.so");
+
+ // When to write:
+ // timeStep (with optional outputInterval)
+ // outputTime (with optional outputInterval)
+ // adjustableTime
+ // runTime
+ // clockTime
+ // cpuTime
+ outputControl outputTime;
+
+ // Write every writeInterval (only valid for timeStemp, outputTime)
+ outputInterval 1;
+
+ // Interval of time (valid for adjustableTime, runTime, clockTime,
+ // cpuTime)
+ writeInterval 10.5;
+
+ // Objects to write
+ objectNames ();
+
+
+ // Is the object written by this function Object alone
+ // (default is false)
+ //exclusiveWriting true;
+ }
+}
+
+// ************************************************************************* //
diff --git a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.C b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C
similarity index 100%
rename from src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.C
rename to src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.C
diff --git a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.H b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H
similarity index 98%
rename from src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.H
rename to src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H
index 8fb674a88..efae29d04 100644
--- a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObject.H
+++ b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObject.H
@@ -72,8 +72,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef writeRegisteredObject_H
-#define writeRegisteredObject_H
+#ifndef functionObjects_writeRegisteredObject_H
+#define functionObjects_writeRegisteredObject_H
#include "wordReList.H"
#include "runTimeSelectionTables.H"
diff --git a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObjectFunctionObject.C b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObjectFunctionObject.C
similarity index 95%
rename from src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObjectFunctionObject.C
rename to src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObjectFunctionObject.C
index 80e9280f0..1eebe9cef 100644
--- a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObjectFunctionObject.C
+++ b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObjectFunctionObject.C
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
- \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
+ \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
diff --git a/src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObjectFunctionObject.H b/src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObjectFunctionObject.H
similarity index 100%
rename from src/postProcessing/functionObjects/IO/writeRegisteredObject/writeRegisteredObjectFunctionObject.H
rename to src/postProcessing/functionObjects/utilities/writeRegisteredObject/writeRegisteredObjectFunctionObject.H
diff --git a/src/postProcessing/functionObjects/utilities/yPlus/yPlus.H b/src/postProcessing/functionObjects/utilities/yPlus/yPlus.H
index 7b026d977..cde61ec39 100644
--- a/src/postProcessing/functionObjects/utilities/yPlus/yPlus.H
+++ b/src/postProcessing/functionObjects/utilities/yPlus/yPlus.H
@@ -37,8 +37,8 @@ SourceFiles
\*---------------------------------------------------------------------------*/
-#ifndef yPlus_H
-#define yPlus_H
+#ifndef functionObjects_yPlus_H
+#define functionObjects_yPlus_H
#include "functionObjectFiles.H"
#include "volFieldsFwd.H"