PlumedMainInitializer(){
   plumed_plumedmain_function_holder fh={plumedmain_create,plumedmain_cmd,plumedmain_finalize};
   plumed_kernel_register(&fh);
 }
Beispiel #2
0
int plumed_installed(void){
  plumed_kernel_register(NULL);
  return installed;
}
Beispiel #3
0
void plumed_cmd(plumed p,const char*key,const void*val){
  (*(plumed_kernel_register(NULL)->cmd))(p.p,key,val);
}
Beispiel #4
0
void plumed_finalize(plumed p){
  (*(plumed_kernel_register(NULL)->finalize))(p.p);
}
Beispiel #5
0
plumed plumed_create(void){
  plumed p;
  p.p=(*(plumed_kernel_register(NULL)->create))();
  return p;
}