Classes | Macros | Functions | Variables
Plumed.c File Reference
#include "Plumed.h"
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <limits.h>

Classes

struct  plumed_plumedmain_function_holder
 Container for plumedmain function pointers (create, cmd and finalize). More...
 

Macros

#define IMPLEMENT(lower, upper, implem)
 

Functions

plumed_plumedmain_function_holderplumed_kernel_register (const plumed_plumedmain_function_holder *)
 Register for plumedmain function pointers. More...
 
void * plumed_dummy_create (void)
 
void plumed_dummy_cmd (void *, const char *, const void *)
 
void plumed_dummy_finalize (void *)
 
plumed plumed_create (void)
 
void plumed_cmd (plumed p, const char *key, const void *val)
 
void plumed_finalize (plumed p)
 
int plumed_installed (void)
 
plumed plumed_global (void)
 
void plumed_gcreate (void)
 
void plumed_gcmd (const char *key, const void *val)
 
void plumed_gfinalize (void)
 
int plumed_ginitialized (void)
 
void plumed_c2f (plumed p, char *c)
 
plumed plumed_f2c (const char *c)
 
void plumed_f_installed (int *i)
 
void plumed_f_ginitialized (int *i)
 
void plumed_f_gcreate (void)
 
void plumed_f_gcmd (char *key, void *val)
 
void plumed_f_gfinalize (void)
 
void plumed_f_create (char *c)
 
void plumed_f_cmd (char *c, char *key, void *val)
 
void plumed_f_finalize (char *c)
 
void plumed_f_global (char *c)
 
 IMPLEMENT (plumed_f_gcreate, PLUMED_F_GCREATE,(void) {plumed_f_gcreate();})
 
 IMPLEMENT (plumed_f_gfinalize, PLUMED_F_GFINALIZE,(void) {plumed_f_gfinalize();})
 
 IMPLEMENT (plumed_f_create, PLUMED_F_CREATE,(char *c) {plumed_f_create(c);})
 
 IMPLEMENT (plumed_f_finalize, PLUMED_F_FINALIZE,(char *c) {plumed_f_finalize(c);})
 

Variables

static int installed =0
 
static int dummy
 
static plumed gmain = {NULL}
 

Macro Definition Documentation

◆ IMPLEMENT

#define IMPLEMENT (   lower,
  upper,
  implem 
)
Value:
void lower ##_ implem \
void lower ##__ implem \
void upper implem \
void upper ##_ implem \
void upper ##__ implem
int upper
Definition: blas.cpp:1748
int lower
Definition: lapack.cpp:430

Function Documentation

◆ IMPLEMENT() [1/4]

IMPLEMENT ( plumed_f_gcreate  ,
PLUMED_F_GCREATE  ,
(void) {plumed_f_gcreate();}   
)

◆ IMPLEMENT() [2/4]

IMPLEMENT ( plumed_f_gfinalize  ,
PLUMED_F_GFINALIZE  ,
(void) {plumed_f_gfinalize();}   
)

◆ IMPLEMENT() [3/4]

IMPLEMENT ( plumed_f_create  ,
PLUMED_F_CREATE  ,
(char *c) {plumed_f_create(c);}   
)

◆ IMPLEMENT() [4/4]

IMPLEMENT ( plumed_f_finalize  ,
PLUMED_F_FINALIZE  ,
(char *c) {plumed_f_finalize(c);}   
)

◆ plumed_c2f()

void plumed_c2f ( plumed  p,
char *  c 
)
related

◆ plumed_cmd()

void plumed_cmd ( plumed  p,
const char *  key,
const void *  val 
)
related

◆ plumed_create()

plumed plumed_create ( void  )
related

◆ plumed_dummy_cmd()

void plumed_dummy_cmd ( void *  p,
const char *  key,
const void *  val 
)

◆ plumed_dummy_create()

void * plumed_dummy_create ( void  )

◆ plumed_dummy_finalize()

void plumed_dummy_finalize ( void *  p)

◆ plumed_f2c()

plumed plumed_f2c ( const char *  c)
related

◆ plumed_f_cmd()

void plumed_f_cmd ( char *  c,
char *  key,
void *  val 
)

◆ plumed_f_create()

void plumed_f_create ( char *  c)

◆ plumed_f_finalize()

void plumed_f_finalize ( char *  c)

◆ plumed_f_gcmd()

void plumed_f_gcmd ( char *  key,
void *  val 
)

◆ plumed_f_gcreate()

void plumed_f_gcreate ( void  )

◆ plumed_f_gfinalize()

void plumed_f_gfinalize ( void  )

◆ plumed_f_ginitialized()

void plumed_f_ginitialized ( int *  i)

◆ plumed_f_global()

void plumed_f_global ( char *  c)

◆ plumed_f_installed()

void plumed_f_installed ( int *  i)

◆ plumed_finalize()

void plumed_finalize ( plumed  p)
related

◆ plumed_gcmd()

void plumed_gcmd ( const char *  key,
const void *  val 
)
related

◆ plumed_gcreate()

void plumed_gcreate ( void  )
related

◆ plumed_gfinalize()

void plumed_gfinalize ( void  )
related

◆ plumed_ginitialized()

int plumed_ginitialized ( void  )
related

◆ plumed_global()

plumed plumed_global ( void  )
related

◆ plumed_installed()

int plumed_installed ( void  )
related

◆ plumed_kernel_register()

Register for plumedmain function pointers.

Variable Documentation

◆ dummy

int dummy
static

◆ gmain

plumed gmain = {NULL}
static

◆ installed

int installed =0
static