 |
helics
3.0.1
|
Go to the documentation of this file.
8 #ifndef _HELICS_TIME_HEADER_
9 # define _HELICS_TIME_HEADER_
10 # include "../utilities/timeRepresentation.hpp"
12 # include "helics/helics-config.h"
24 # ifdef HELICS_USE_PICOSECOND_TIME
25 using Time = TimeRepresentation<count_time<12>>;
27 using Time = TimeRepresentation<count_time<9>>;
41 constexpr
Time operator"" _t(
long double val)
43 return {
static_cast<double>(val)};
58 # if defined HELICS_SHARED_LIBRARY || !defined HELICS_STATIC_CORE_LIBRARY
59 # include "../application_api/timeOperations.hpp"
61 #endif //_HELICS_TIME_HEADER_
constexpr Time timeZero
Definition: helicsTime.hpp:31
constexpr Time initializationTime
Definition: helicsTime.hpp:38
IterationResult state
the convergence state
Definition: helicsTime.hpp:49
TimeRepresentation< count_time< 9 > > Time
Definition: helicsTime.hpp:27
constexpr Time negEpsilon
Definition: helicsTime.hpp:35
Time grantedTime
the time of the granted step
Definition: helicsTime.hpp:48
IterationResult
Definition: CoreTypes.hpp:80
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
Definition: helicsTime.hpp:47
constexpr Time timeEpsilon
Definition: helicsTime.hpp:33