Public Attributes | List of all members
plumed_function_holder Struct Reference

Holder for function pointer. More...

#include <Plumed.h>

Public Attributes

plumed_function_pointer p
 

Detailed Description

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)

Member Data Documentation

plumed_function_pointer plumed_function_holder::p

The documentation for this struct was generated from the following files: