00001 #ifndef OPENTISSUE_DYNAMICS_VERSATILE_VERSATILE_TYPES_H 00002 #define OPENTISSUE_DYNAMICS_VERSATILE_VERSATILE_TYPES_H 00003 // 00004 // OpenTissue Template Library 00005 // - A generic toolbox for physics-based modeling and simulation. 00006 // Copyright (C) 2008 Department of Computer Science, University of Copenhagen. 00007 // 00008 // OTTL is licensed under zlib: http://opensource.org/licenses/zlib-license.php 00009 // 00010 #include <OpenTissue/configuration.h> 00011 00012 #include <OpenTissue/dynamics/versatile/versatile_mesh.h> 00013 #include <OpenTissue/dynamics/versatile/versatile_simulator.h> 00014 00015 namespace OpenTissue 00016 { 00017 namespace versatile 00018 { 00019 00020 template<typename math_types> 00021 class Types 00022 : public math_types 00023 { 00024 public: 00025 00026 typedef Types<math_types> versatile_types; 00027 00028 typedef OpenTissue::versatile::Mesh<versatile_types> mesh_type; 00029 typedef typename mesh_type::node_type node_type; 00030 typedef typename mesh_type::tetrahedron_type tetrahedron_type; 00031 typedef OpenTissue::versatile::Simulator<versatile_types> simulator_type; 00032 }; 00033 00034 00035 } // namespace versatile 00036 } // namespace OpenTissue 00037 00038 //OPENTISSUE_DYNAMICS_VERSATILE_VERSATILE_TYPES_H 00039 #endif