1 #ifndef OPENMM_KERNEL_H_
2 #define OPENMM_KERNEL_H_
35 #include "KernelImpl.h"
36 #include "openmm/internal/windowsExport.h"
73 std::string getName()
const;
87 return dynamic_cast<T&
>(*impl);
94 return dynamic_cast<T&
>(*impl);
A KernelImpl defines the internal implementation of a Kernel object.
Definition: KernelImpl.h:48
T & getAs()
Get a reference to the object which implements this Kernel, casting it to the specified type...
Definition: Kernel.h:93
const T & getAs() const
Get a reference to the object which implements this Kernel, casting it to the specified type...
Definition: Kernel.h:86
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
Definition: AndersenThermostat.h:40