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

Executes system calls, entered in the form of a string list. More...

#include <systemCall/systemCall.H>


Detailed Description

Executes system calls, entered in the form of a string list.

Source files

Definition at line 56 of file systemCall.H.

Collaboration diagram for systemCall:

List of all members.

Public Member Functions

 TypeName ("systemCall")
 Runtime type information.
 systemCall (const word &name, const objectRegistry &unused, const dictionary &, const bool loadFromFilesUnused=false)
 Construct for given objectRegistry and dictionary.
virtual  ~systemCall ()
virtual const word &  name () const
 Return name of the system call set.
virtual void  read (const dictionary &)
 Read the system calls.
virtual void  execute ()
 Execute the "executeCalls" at each time-step.
virtual void  end ()
 Execute the "endCalls" at the final time-loop.
virtual void  write ()
 Write, execute the "writeCalls".
virtual void  updateMesh (const mapPolyMesh &)
 Update for changes of mesh.
virtual void  movePoints (const pointField &)
 Update for changes of mesh.

Protected Member Functions

 systemCall (const systemCall &)
 Disallow default bitwise copy construct.
void  operator= (const systemCall &)
 Disallow default bitwise assignment.

Protected Attributes

word  name_
 Name of this set of system calls.
stringList  executeCalls_
 List of calls to execute - every step.
stringList  endCalls_
 List of calls to execute when exiting the time-loop.
stringList  writeCalls_
 List of calls to execute - write steps.

Constructor & Destructor Documentation

systemCall ( const systemCall &    ) [protected]

Disallow default bitwise copy construct.

systemCall ( const word &   name,
const objectRegistry &   unused,
const dictionary &   dict,
const bool   loadFromFilesUnused = false  
)

Construct for given objectRegistry and dictionary.

Allow the possibility to load fields from files

Definition at line 41 of file systemCall.C.

~systemCall (  ) [virtual]

Definition at line 59 of file systemCall.C.


Member Function Documentation

void operator= ( const systemCall &    ) [protected]

Disallow default bitwise assignment.

TypeName ( "systemCall"    )

Runtime type information.

virtual const word& name (  ) const [inline, virtual]

Return name of the system call set.

Definition at line 111 of file systemCall.H.

References systemCall::name_.

void read ( const dictionary &   dict  ) [virtual]

Read the system calls.

Definition at line 65 of file systemCall.C.

References Foam::endl(), dictionary::readIfPresent(), and WarningIn.

void execute (  ) [virtual]

Execute the "executeCalls" at each time-step.

Definition at line 80 of file systemCall.C.

References forAll, and Foam::system().

void end (  ) [virtual]

Execute the "endCalls" at the final time-loop.

Definition at line 89 of file systemCall.C.

References forAll, and Foam::system().

void write (  ) [virtual]

Write, execute the "writeCalls".

Definition at line 98 of file systemCall.C.

References forAll, and Foam::system().

virtual void updateMesh ( const mapPolyMesh &    ) [inline, virtual]

Update for changes of mesh.

Definition at line 129 of file systemCall.H.

virtual void movePoints ( const pointField &    ) [inline, virtual]

Update for changes of mesh.

Definition at line 133 of file systemCall.H.


Member Data Documentation

word name_ [protected]

Name of this set of system calls.

Definition at line 63 of file systemCall.H.

Referenced by systemCall::name().

List of calls to execute - every step.

Definition at line 66 of file systemCall.H.

stringList endCalls_ [protected]

List of calls to execute when exiting the time-loop.

Definition at line 69 of file systemCall.H.

stringList writeCalls_ [protected]

List of calls to execute - write steps.

Definition at line 72 of file systemCall.H.


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