OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
ParameterTraits< RealType > Struct Reference

Public Types

using RepType = RealType
 

Static Public Member Functions

template<typename T >
static bool convert (T, RepType &)
 
template<typename T >
static RepType convert (T v)
 
static bool convert (RepType v, RepType &r)
 
static bool convert (int v, RepType &r)
 
static bool convert (unsigned long int v, RepType &r)
 
static std::string getParamType ()
 

Detailed Description

Definition at line 179 of file ParameterManager.hpp.

Member Typedef Documentation

◆ RepType

using ParameterTraits< RealType >::RepType = RealType

Definition at line 180 of file ParameterManager.hpp.

Member Function Documentation

◆ convert() [1/5]

static bool ParameterTraits< RealType >::convert ( int v,
RepType & r )
inlinestatic

Definition at line 199 of file ParameterManager.hpp.

◆ convert() [2/5]

static bool ParameterTraits< RealType >::convert ( RepType v,
RepType & r )
inlinestatic

Definition at line 194 of file ParameterManager.hpp.

◆ convert() [3/5]

template<typename T >
static RepType ParameterTraits< RealType >::convert ( T v)
inlinestatic

Definition at line 188 of file ParameterManager.hpp.

◆ convert() [4/5]

template<typename T >
static bool ParameterTraits< RealType >::convert ( T ,
RepType &  )
inlinestatic

Definition at line 183 of file ParameterManager.hpp.

◆ convert() [5/5]

static bool ParameterTraits< RealType >::convert ( unsigned long int v,
RepType & r )
inlinestatic

Definition at line 204 of file ParameterManager.hpp.

◆ getParamType()

static std::string ParameterTraits< RealType >::getParamType ( )
inlinestatic

Definition at line 209 of file ParameterManager.hpp.


The documentation for this struct was generated from the following file: