Classes | Namespaces | Macros | Functions
VesselRegister.h File Reference
#include <string>
#include <cstring>
#include <vector>
#include <map>
#include "tools/Exception.h"
#include "tools/Keywords.h"

Classes

class  PLMD::vesselbase::VesselRegister
 

Namespaces

 PLMD
 
 PLMD::vesselbase
 

Macros

#define PLUMED_REGISTER_VESSEL(classname, keyword)
 

Functions

VesselRegister & PLMD::vesselbase::vesselRegister ()
 

Macro Definition Documentation

#define PLUMED_REGISTER_VESSEL (   classname,
  keyword 
)
Value:
static class classname##RegisterMe{ \
static PLMD::vesselbase::Vessel * create(const PLMD::vesselbase::VesselOptions&da){return new classname(da);} \
public: \
classname##RegisterMe(){PLMD::vesselbase::vesselRegister().add(keyword,create,classname::reserveKeyword,classname::registerKeywords);} \
} classname##RegisterMeObject;
void remove(creator_pointer f)
Remove a distribution function from the register of distribution functions.
Definition: VesselRegister.cpp:42
void add(std::string keyword, creator_pointer, keyword_pointer k, keyword_pointer ik)
Add a new distribution function option to the register of distribution functions. ...
Definition: VesselRegister.cpp:50
double da
Definition: blas.cpp:165
static class PLMD::PlumedMainInitializer RegisterMe
VesselRegister & vesselRegister()
Definition: VesselRegister.cpp:37
This class is used to pass the input to Vessels.
Definition: Vessel.h:53
Definition: Vessel.h:75