Gromacs  2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Variables
gmx::anonymous_namespace{timeunitmanager.cpp} Namespace Reference

Classes

class  TimeOptionScaler
 Option visitor that scales time options. More...
 

Variables

const EnumerationArray
< TimeUnit, const char * > 
c_timeUnitNames
 Enum values for a time unit. More...
 
const EnumerationArray
< TimeUnit, double > 
c_timeUnitScaleFactors = { { 1e-3, 1, 1e3, 1e6, 1e9, 1e12 } }
 Scaling factors from each time unit to internal units (=picoseconds). More...
 

Variable Documentation

const EnumerationArray<TimeUnit, const char*> gmx::anonymous_namespace{timeunitmanager.cpp}::c_timeUnitNames
Initial value:
= { { "fs", "ps", "ns", "us", "ms",
"s" } }

Enum values for a time unit.

These must correspond to the TimeUnit enum in the header!

const EnumerationArray<TimeUnit, double> gmx::anonymous_namespace{timeunitmanager.cpp}::c_timeUnitScaleFactors = { { 1e-3, 1, 1e3, 1e6, 1e9, 1e12 } }

Scaling factors from each time unit to internal units (=picoseconds).

These must correspond to the TimeUnit enum in the header!