mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects::regionFunctionObject: Added optional 'log' entry (defaults to true)
This commit is contained in:
@ -40,6 +40,7 @@ SourceFiles
|
||||
#define functionObjects_regionFunctionObject_H
|
||||
|
||||
#include "functionObject.H"
|
||||
#include "Switch.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -71,6 +72,9 @@ protected:
|
||||
//- Reference to the region objectRegistry
|
||||
const objectRegistry& obr_;
|
||||
|
||||
//- Switch to send output to Info as well as to file
|
||||
Switch log_;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
@ -112,6 +116,12 @@ public:
|
||||
|
||||
//- Destructor
|
||||
virtual ~regionFunctionObject();
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
//- Read optional controls
|
||||
virtual bool read(const dictionary&);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user