Gromacs
2024.4
|
#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"
Implements gmx::TimeUnitManager.
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... | |