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

#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 ( 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);}   
)
void plumed_c2f ( plumed  p,
char *  c 
)
related
void plumed_cmd ( plumed  p,
const char *  key,
const void *  val 
)
related
plumed plumed_create ( void  )
related
void plumed_dummy_cmd ( void *  p,
const char *  key,
const void *  val 
)
void * plumed_dummy_create ( void  )
void plumed_dummy_finalize ( void *  p)
plumed plumed_f2c ( const char *  c)
related
void plumed_f_cmd ( char *  c,
char *  key,
void *  val 
)
void plumed_f_create ( char *  c)
void plumed_f_finalize ( char *  c)
void plumed_f_gcmd ( char *  key,
void *  val 
)
void plumed_f_gcreate ( void  )
void plumed_f_gfinalize ( void  )
void plumed_f_ginitialized ( int *  i)
void plumed_f_global ( char *  c)
void plumed_f_installed ( int *  i)
void plumed_finalize ( plumed  p)
related
void plumed_gcmd ( const char *  key,
const void *  val 
)
related
void plumed_gcreate ( void  )
related
void plumed_gfinalize ( void  )
related
int plumed_ginitialized ( void  )
related
plumed plumed_global ( void  )
related
int plumed_installed ( void  )
related

Register for plumedmain function pointers.

Variable Documentation

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