CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to quote current timeStep as a parameter of the subroutine? (https://www.cfd-online.com/Forums/openfoam-solving/117006-how-quote-current-timestep-parameter-subroutine.html)

sandy April 30, 2013 09:36

How to quote current runtime as a parameter of the subroutine?
 
Hi everybody,

Who know how to quote updated and current runtime into the subroutine as a parameter, namely as curTimeIndex_ = this->db().time().timeIndex() . How to update this parameter and use it with the current runtime?

Sandy


All times are GMT -4. The time now is 13:18.