Go to the documentation of this file.00001 #ifndef OPENTISSUE_DYNAMICS_EDM_EDM_FORCE_H
00002 #define OPENTISSUE_DYNAMICS_EDM_EDM_FORCE_H
00003
00004
00005
00006
00007
00008
00009
00010 #include <OpenTissue/configuration.h>
00011
00012
00013 namespace OpenTissue
00014 {
00015
00016 namespace edm
00017 {
00018
00019 template<typename edm_types>
00020 class Force
00021 {
00022 public:
00023
00024 typedef typename edm_types::vector3_type vector3_type;
00025 typedef typename edm_types::Particle particle_type;
00026
00027 public:
00028
00029 virtual ~Force() {}
00030
00031 public:
00032
00033 virtual vector3_type apply(particle_type const & a) const = 0;
00034
00035 };
00036
00037 }
00038
00039 }
00040
00041
00042 #endif