Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
PLMD::DataPassingTools Class Referenceabstract

#include <DataPassingTools.h>

Inheritance diagram for PLMD::DataPassingTools:
Inheritance graph
[legend]

Public Member Functions

virtual ~DataPassingTools ()
 Virtual destructor, just to allow inheritance. More...
 
virtual void double2MD (const double &, const TypesafePtr &m) const =0
 
virtual int getRealPrecision () const =0
 
double getUnitConversion (const std::string &unit) const
 
virtual double MD2double (const TypesafePtr &m) const =0
 

Static Public Member Functions

static std::unique_ptr< DataPassingToolscreate (unsigned n)
 

Private Attributes

Units MDUnits
 
Units units
 The units used in the MD code and PLUMED. More...
 
bool usingNaturalUnits
 Is the code using natural units. More...
 

Friends

class PlumedMain
 

Constructor & Destructor Documentation

◆ ~DataPassingTools()

virtual PLMD::DataPassingTools::~DataPassingTools ( )
inlinevirtual

Virtual destructor, just to allow inheritance.

Member Function Documentation

◆ create()

std::unique_ptr< DataPassingTools > PLMD::DataPassingTools::create ( unsigned  n)
static

◆ double2MD()

virtual void PLMD::DataPassingTools::double2MD ( const double &  ,
const TypesafePtr m 
) const
pure virtual

◆ getRealPrecision()

virtual int PLMD::DataPassingTools::getRealPrecision ( ) const
pure virtual

◆ getUnitConversion()

double PLMD::DataPassingTools::getUnitConversion ( const std::string &  unit) const

◆ MD2double()

virtual double PLMD::DataPassingTools::MD2double ( const TypesafePtr m) const
pure virtual

Friends And Related Function Documentation

◆ PlumedMain

friend class PlumedMain
friend

Member Data Documentation

◆ MDUnits

Units PLMD::DataPassingTools::MDUnits
private

◆ units

Units PLMD::DataPassingTools::units
private

The units used in the MD code and PLUMED.

◆ usingNaturalUnits

bool PLMD::DataPassingTools::usingNaturalUnits
private

Is the code using natural units.


The documentation for this class was generated from the following files: