Holder for function pointer.
More...
#include <Plumed.h>
Public Attributes | |
| plumed_function_pointer | p |
Holder for function pointer.
To pass plumed a callback function use the following syntax:
plumed_function_holder ff;
ff.p=your_function;
plumed_cmd(plumed,"xxxx",&ff);
(this is going to pass the your_function() function to the "xxxx" command)
| plumed_function_pointer plumed_function_holder::p |
Hosted by GitHub
|
1.8.14
|