Gromacs
2020.4
|
#include "gmxpre.h"
#include "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/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
Implements gmx::TimeUnitManager.
Classes | |
class | gmx::anonymous_namespace{timeunitmanager.cpp}::TimeOptionScaler< FloatingPointOptionInfo > |
Option visitor that scales time options. More... | |
Variables | |
const char *const | anonymous_namespace{timeunitmanager.cpp}::g_timeUnits [] = { "fs", "ps", "ns", "us", "ms", "s" } |
Enum values for a time unit. More... | |
const double | anonymous_namespace{timeunitmanager.cpp}::g_timeScaleFactors [] = { 1e-3, 1, 1e3, 1e6, 1e9, 1e12 } |
Scaling factors from each time unit to internal units (=picoseconds). More... | |