00001 #ifndef OPENTISSUE_DYNAMICS_DEFORMATION_FEM_STIFFNESSWARPING_H 00002 #define OPENTISSUE_DYNAMICS_DEFORMATION_FEM_STIFFNESSWARPING_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 namespace OpenTissue 00013 { 00014 namespace fem 00015 { 00016 namespace detail 00017 { 00018 template <typename math_types> 00019 class TetrahedronTraits 00020 { 00021 public: 00022 00023 typedef typename math_types::real_type real_type; 00024 typedef typename math_types::vector3_type vector3_type; 00025 typedef typename math_types::matrix3x3_type matrix3x3_type; 00026 00027 public: 00028 00029 real_type m_young; 00030 real_type m_poisson; 00031 real_type m_density; 00032 00033 matrix3x3_type m_Ke[4][4]; 00034 matrix3x3_type m_Re; 00035 real_type m_V; 00036 00037 vector3_type m_e10; 00038 vector3_type m_e20; 00039 vector3_type m_e30; 00040 00041 //--- Stuff used exclusive by plastic effects 00042 00043 vector3_type m_B[4]; 00044 vector3_type m_D; 00045 real_type m_plastic[6]; 00046 real_type m_yield; 00047 real_type m_creep; 00048 real_type m_max; 00049 }; 00050 00051 } // namespace detail 00052 } // namespace fem 00053 } // namespace OpenTissue 00054 00055 //OPENTISSUE_DYNAMICS_DEFORMATION_FEM_STIFFNESSWARPING_H 00056 #endif