namespace mom_time_manager¶
Overview¶
Wraps the FMS time manager functions. More…
namespace mom_time_manager { // global functions type(time_type) function, public real_to_time(x x, err_msg err_msg); } // namespace mom_time_manager
Detailed Documentation¶
Wraps the FMS time manager functions.
Global Functions¶
type(time_type) function, public real_to_time(x x, err_msg err_msg)
This is an alternate implementation of the FMS function real_to_time_type that is accurate over a larger range of input values. With 32 bit signed integers, this version should work over the entire valid range (2^31 days or ~5.8835 million years) of time_types, whereas the standard version in the FMS time_manager stops working for conversions of times greater than 2^31 seconds, or ~68.1 years.
Parameters:
x |
The input time in real seconds. |
err_msg |
An optional returned error message. |
Returns:
The output time as a time_type