22 #ifndef __PLUMED_wrapper_Plumed_h
23 #define __PLUMED_wrapper_Plumed_h
346 static void gcmd(
const char* key,
const void* val);
405 void cmd(
const char*key,
const void*val=NULL);
plumed plumed_global(void)
Retrieves an handler to the global structure.
void cmd(const char *key, const void *val=NULL)
Send a command to this plumed object.
void plumed_cmd(plumed p, const char *key, const void *val)
plumed plumed_f2c(const char *c)
static void gcreate()
Initialize global-plumed.
Plumed & operator=(const Plumed &)
Assignment operator is disabled (private and unimplemented) The problem here is that after copying it...
int plumed_ginitialized(void)
Check if the global interface has been initialized.
int plumed_ginitialized(void)
plumed plumed_f2c(const char *c)
Converts a FORTRAN handler to a C handler.
int main(int argc, char **argv)
This main uses only the interface published in Plumed.h.
static void gcmd(const char *key, const void *val)
Send a command to global-plumed.
int plumed_installed(void)
Check if plumed is installed (for runtime binding)
int plumed_installed(void)
virtual ~Plumed()
Destructor.
void(* plumed_function_pointer)(void)
Holder for function pointer.
void plumed_finalize(plumed p)
static bool ginitialized()
Check if global-plumed has been initialized.
void * p
Void pointer holding the real PlumedMain structure.
bool cloned
keeps track if the object was created from scratch using the defaults destructor (cloned=false) or if...
void plumed_gfinalize(void)
static Plumed global()
Returns the Plumed global object.
void toFortran(char *c) const
Retrieve a FORTRAN handler for this object.
void plumed_cmd(plumed p, const char *key, const void *val)
Tells p to execute a command.
static bool installed()
Check if plumed is installed (for runtime binding)
void plumed_gcmd(const char *key, const void *val)
void plumed_gcreate(void)
void plumed_c2f(plumed p, char *c)
Converts a C handler to a FORTRAN handler.
void plumed_c2f(plumed p, char *c)
plumed plumed_create(void)
static void gfinalize()
Finalize global-plumed.
plumed plumed_create(void)
Constructor.
void plumed_gcmd(const char *key, const void *val)
Tells to the global interface to execute a command.
void plumed_gfinalize(void)
Destructor for the global interface.
void plumed_finalize(plumed p)
Destructor.
void plumed_gcreate(void)
Constructor for the global interface.
plumed plumed_global(void)