00001 #ifndef OPENTISSUE_DYNAMICS_MBD_UTIL_MBD_NO_SLEEPY_POLICY_H 00002 #define OPENTISSUE_DYNAMICS_MBD_UTIL_MBD_NO_SLEEPY_POLICY_H 00003 // 00004 // OpenTissue, A toolbox for physical based simulation and animation. 00005 // Copyright (C) 2007 Department of Computer Science, University of Copenhagen 00006 // 00007 #include <OpenTissue/configuration.h> 00008 00009 namespace OpenTissue 00010 { 00011 namespace mbd 00012 { 00013 00019 template< typename mbd_types> 00020 struct NoSleepyPolicy 00021 { 00022 typedef typename mbd_types::group_type group_type; 00023 typedef typename group_type::indirect_body_iterator indirect_body_iterator; 00024 00025 class node_traits{}; 00026 class edge_traits{}; 00027 class constraint_traits{}; 00028 00029 void evaluate(indirect_body_iterator /*begin*/, indirect_body_iterator /*end*/){} 00030 00031 void clear(){} 00032 }; 00033 00034 } //End of namespace mbd 00035 } //End of namespace OpenTissue 00036 // OPENTISSUE_DYNAMICS_MBD_UTIL_MBD_NO_SLEEPY_POLICY_H 00037 #endif