Go to the documentation of this file.00001 #ifndef OPENTISSUE_DYNAMICS_MBD_MBD_FORCE_INTERFACE_H
00002 #define OPENTISSUE_DYNAMICS_MBD_MBD_FORCE_INTERFACE_H
00003
00004
00005
00006
00007 #include <OpenTissue/configuration.h>
00008
00009
00010 namespace OpenTissue
00011 {
00012 namespace mbd
00013 {
00025 template<typename mbd_types>
00026 class ForceInterface
00027 : public mbd_types::identifier_type
00028 {
00029 public:
00030
00031 typedef typename mbd_types::body_type body_type;
00032 typedef typename mbd_types::math_policy::vector3_type vector3_type;
00033
00034 public:
00047 virtual void compute(body_type const & body,vector3_type & force,vector3_type & torque)=0;
00048
00049 };
00050
00051 }
00052 }
00053
00054 #endif