Holder for function pointer. More...
#include <PlumedMain.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)
Definition at line 41 of file PlumedMain.h.
plumed_function_pointer plumed_function_holder::p |
Definition at line 42 of file PlumedMain.h.
Hosted by GitHub
![]() |
![]() |