Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Variables
timeunitmanager.cpp File Reference
#include "gmxpre.h"
#include "gromacs/options/timeunitmanager.h"
#include <cstdlib>
#include <algorithm>
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/ioptionscontainer.h"
#include "gromacs/options/options.h"
#include "gromacs/options/optionsvisitor.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
+ Include dependency graph for timeunitmanager.cpp:

Description

Implements gmx::TimeUnitManager.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  gmx::anonymous_namespace{timeunitmanager.cpp}::TimeOptionScaler< FloatingPointOptionInfo >
 Option visitor that scales time options. More...
 

Variables

const EnumerationArray
< TimeUnit, const char * > 
gmx::anonymous_namespace{timeunitmanager.cpp}::c_timeUnitNames
 Enum values for a time unit. More...
 
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). More...