Public Member Functions | Private Attributes | List of all members
PLMD::GREX Class Reference

#include <GREX.h>

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

Public Member Functions

 GREX (PlumedMain &)
 
 ~GREX ()
 
void cmd (const std::string &key, void *val=NULL)
 This has to be implemented in daughter classes. More...
 
void calculate ()
 
void savePositions ()
 
void cmd (const std::string &key, const void *val)
 Const val version, which indeed just overrides the const and call the virtual method. More...
 

Private Attributes

bool initialized
 
Communicatorintracomm
 
Communicatorintercomm
 
PlumedMainplumedMain
 
Atomsatoms
 
int partner
 
double localDeltaBias
 
double foreignDeltaBias
 
double localUNow
 
double localUSwap
 
std::vector< double > allDeltaBias
 
std::string buffer
 
int myreplica
 

Constructor & Destructor Documentation

◆ GREX()

PLMD::GREX::GREX ( PlumedMain p)
explicit

◆ ~GREX()

PLMD::GREX::~GREX ( )

Member Function Documentation

◆ calculate()

void PLMD::GREX::calculate ( )

◆ cmd() [1/2]

void PLMD::WithCmd::cmd ( const std::string &  key,
const void *  val 
)
inlineinherited

Const val version, which indeed just overrides the const and call the virtual method.

◆ cmd() [2/2]

void PLMD::GREX::cmd ( const std::string &  key,
void *  val = NULL 
)
virtual

This has to be implemented in daughter classes.

Implements PLMD::WithCmd.

◆ savePositions()

void PLMD::GREX::savePositions ( )

Member Data Documentation

◆ allDeltaBias

std::vector<double> PLMD::GREX::allDeltaBias
private

◆ atoms

Atoms& PLMD::GREX::atoms
private

◆ buffer

std::string PLMD::GREX::buffer
private

◆ foreignDeltaBias

double PLMD::GREX::foreignDeltaBias
private

◆ initialized

bool PLMD::GREX::initialized
private

◆ intercomm

Communicator& PLMD::GREX::intercomm
private

◆ intracomm

Communicator& PLMD::GREX::intracomm
private

◆ localDeltaBias

double PLMD::GREX::localDeltaBias
private

◆ localUNow

double PLMD::GREX::localUNow
private

◆ localUSwap

double PLMD::GREX::localUSwap
private

◆ myreplica

int PLMD::GREX::myreplica
private

◆ partner

int PLMD::GREX::partner
private

◆ plumedMain

PlumedMain& PLMD::GREX::plumedMain
private

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