OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

subCycleTime Class Reference

A class for managing sub-cycling times. More...

Inheritance diagram for subCycleTime:
Collaboration diagram for subCycleTime:

List of all members.


Public Member Functions

 subCycleTime (Time &, const label nSubCycles)
 Construct from original time and number of sub-cycles.
 ~subCycleTime ()
bool end () const
 Return true if the number of sub-cycles has been reached.
void endSubCycle ()
 End the sub-cycling and reset the time-state.
subCycleTime & operator++ ()
 Prefix increment.
subCycleTime & operator++ (int)
 Postfix increment.

Detailed Description

A class for managing sub-cycling times.

Source files

Definition at line 44 of file subCycleTime.H.


Constructor & Destructor Documentation

subCycleTime ( Time &  t,
const label  nSubCycles 
)

Construct from original time and number of sub-cycles.

Definition at line 22 of file subCycleTime.C.

~subCycleTime (  ) 

Definition at line 33 of file subCycleTime.C.


Member Function Documentation

bool end (  )  const

Return true if the number of sub-cycles has been reached.

Definition at line 41 of file subCycleTime.C.

References subCycleTime::endSubCycle().

Here is the call graph for this function:

void endSubCycle (  ) 

End the sub-cycling and reset the time-state.

Definition at line 47 of file subCycleTime.C.

Referenced by subCycleTime::end().

Here is the caller graph for this function:

Foam::subCycleTime & operator++ (  ) 

Prefix increment.

Definition at line 55 of file subCycleTime.C.

References Time::endSubCycle().

Here is the call graph for this function:

Foam::subCycleTime & operator++ ( int   ) 

Postfix increment.

Definition at line 63 of file subCycleTime.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd