Interface that describes the time stepping of a model.
bmi.time.
BmiTime
[source]¶Bases: object
Methods that get time information from a model.
Methods
get_current_time () |
Current time of the model. |
get_end_time () |
End time of the model. |
get_start_time () |
Start time of the model. |
get_time_step () |
Current time step of the model. |
get_time_units () |
Time units of the model. |
get_current_time
()[source]¶Current time of the model.
Returns: | float
|
---|
See also
Notes
/* C */
int get_current_time(void * self, double * time);
get_end_time
()[source]¶End time of the model.
Returns: | float
|
---|
See also
Notes
/* C */
int get_end_time(void * self, double * time);
get_start_time
()[source]¶Start time of the model.
Model times should be of type float. The default model start time is 0.
Returns: | float
|
---|
Notes
/* C */
int get_start_time(void * self, double * time);