00001 #ifndef OPENTISSUE_DYNAMICS_FEM_FEM_MESH_H 00002 #define OPENTISSUE_DYNAMICS_FEM_FEM_MESH_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/core/containers/t4mesh/t4mesh.h> 00013 #include <OpenTissue/dynamics/fem/fem_node_traits.h> 00014 #include <OpenTissue/dynamics/fem/fem_tetrahedron_traits.h> 00015 00016 namespace OpenTissue 00017 { 00018 namespace fem 00019 { 00020 00021 template <typename math_types> 00022 class Mesh 00023 : public OpenTissue::t4mesh::T4Mesh< 00024 math_types 00025 , OpenTissue::fem::detail::NodeTraits<math_types> 00026 , OpenTissue::fem::detail::TetrahedronTraits<math_types> 00027 > 00028 { 00029 public: 00030 00031 typedef typename math_types::real_type real_type; 00032 typedef typename math_types::vector3_type vector3_type; 00033 typedef typename math_types::matrix3x3_type matrix3x3_type; 00034 }; 00035 00036 } // namespace fem 00037 } // namespace OpenTissue 00038 00039 //OPENTISSUE_DYNAMICS_FEM_FEM_MESH_H 00040 #endif