codedFunctionObjectTemplate: Added #include "volFields.H"
The codedFunctionObjectTemplate is based on regionFunctionObject requiring fvMesh.H and most manipulate volFields so it makes sense for volFields.H to be included by default.
This commit is contained in:
@ -24,6 +24,7 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "codedFunctionObjectTemplate.H"
|
||||
#include "volFields.H"
|
||||
#include "unitConversion.H"
|
||||
#include "addToRunTimeSelectionTable.H"
|
||||
|
||||
|
||||
@ -48,10 +48,15 @@ functions
|
||||
{
|
||||
error
|
||||
{
|
||||
type coded;
|
||||
|
||||
// Load the library containing the 'coded' functionObject
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
type coded;
|
||||
codeInclude
|
||||
#{
|
||||
#include "volFields.H"
|
||||
#};
|
||||
|
||||
codeEnd
|
||||
#{
|
||||
|
||||
@ -63,10 +63,13 @@ functions
|
||||
setDeltaT
|
||||
{
|
||||
type coded;
|
||||
|
||||
// Load the library containing the 'coded' functionObject
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
code
|
||||
codeInclude
|
||||
#{
|
||||
#include "volFields.H"
|
||||
#};
|
||||
|
||||
codeExecute
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
type coded;
|
||||
|
||||
// Load the library containing the 'coded' functionObject
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
name generateAlphas;
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
type coded;
|
||||
|
||||
// Load the library containing the 'coded' functionObject
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
name generateAlpha;
|
||||
|
||||
@ -55,6 +55,7 @@ functions
|
||||
writeCachedObjects
|
||||
{
|
||||
type writeObjects;
|
||||
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
writeControl writeTime;
|
||||
|
||||
@ -57,6 +57,8 @@ functions
|
||||
mixingQualityCheck
|
||||
{
|
||||
type coded;
|
||||
|
||||
// Load the library containing the 'coded' functionObject
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
codeInclude
|
||||
|
||||
@ -55,6 +55,8 @@ outletMassFlowRate
|
||||
totalMass
|
||||
{
|
||||
type coded;
|
||||
|
||||
// Load the library containing the 'coded' functionObject
|
||||
libs ("libutilityFunctionObjects.so");
|
||||
|
||||
codeExecute
|
||||
|
||||
Reference in New Issue
Block a user