FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

functionObjectList Class Reference

List of function objects with start(), execute() and end() functions that is called for each object. More...

#include <OpenFOAM/functionObjectList.H>


Detailed Description

List of function objects with start(), execute() and end() functions that is called for each object.

See also:
Foam::functionObject and Foam::OutputFilterFunctionObject
Source files

Definition at line 56 of file functionObjectList.H.

Inheritance diagram for functionObjectList:
Collaboration diagram for functionObjectList:

List of all members.

Public Member Functions

 functionObjectList (const Time &, const bool execution=true)
 Construct from Time and the execution setting.
 functionObjectList (const Time &, const dictionary &parentDict, const bool execution=true)
 Construct from Time, a dictionary with "functions" entry.
virtual  ~functionObjectList ()
virtual void  clear ()
 Clear the list of function objects.
virtual void  on ()
 Switch the function objects on.
virtual void  off ()
 Switch the function objects off.
virtual bool  status () const
 Return the execution status (on/off) of the function objects.
virtual bool  start ()
 Called at the start of the time-loop.
virtual bool  execute ()
 Called at each ++ or += of the time-loop.
virtual bool  end ()
 Called when Time::run() determines that the time-loop exits.
virtual bool  read ()
 Read and set the function objects if their data have changed.

Constructor & Destructor Documentation

functionObjectList ( const Time &   t,
const bool   execution = true  
)

Construct from Time and the execution setting.

The functionObject specifications are read from the controlDict

Definition at line 59 of file functionObjectList.C.

functionObjectList ( const Time &   t,
const dictionary &   parentDict,
const bool   execution = true  
)

Construct from Time, a dictionary with "functions" entry.

and the execution setting.

Parameters:
[in]parentDict- the parent dictionary containing a "functions" entry, which can either be a list or a dictionary of functionObject specifications.

Definition at line 75 of file functionObjectList.C.

~functionObjectList (  ) [virtual]

Definition at line 93 of file functionObjectList.C.


Member Function Documentation

void clear (  ) [virtual]

Clear the list of function objects.

Reimplemented from PtrList< functionObject >.

Definition at line 99 of file functionObjectList.C.

References PtrList< T >::clear().

void on (  ) [virtual]

Switch the function objects on.

Definition at line 108 of file functionObjectList.C.

void off (  ) [virtual]

Switch the function objects off.

Definition at line 114 of file functionObjectList.C.

bool status (  ) const [virtual]

Return the execution status (on/off) of the function objects.

Definition at line 121 of file functionObjectList.C.

bool start (  ) [virtual]

Called at the start of the time-loop.

Definition at line 127 of file functionObjectList.C.

bool execute (  ) [virtual]

Called at each ++ or += of the time-loop.

Definition at line 133 of file functionObjectList.C.

References forAllIter.

bool end (  ) [virtual]

Called when Time::run() determines that the time-loop exits.

Reimplemented from PtrList< functionObject >.

Definition at line 159 of file functionObjectList.C.

References forAllIter.


The documentation for this class was generated from the following files: