Go to the documentation of this file.00001 #ifndef OPENTISSUE_DYNAMICS_FEM_FEM_RESET_ORIENTATION_H
00002 #define OPENTISSUE_DYNAMICS_FEM_FEM_RESET_ORIENTATION_H
00003
00004
00005
00006
00007
00008
00009
00010 #include <OpenTissue/configuration.h>
00011
00012 namespace OpenTissue
00013 {
00014 namespace fem
00015 {
00016 namespace detail
00017 {
00018
00022 template<typename tetrahedron_iterator>
00023 inline void reset_orientation(tetrahedron_iterator const & begin, tetrahedron_iterator const & end)
00024 {
00025 for(tetrahedron_iterator T = begin;T!=end;++T)
00026 T->m_Re = math::diag(1.0);
00027 }
00028
00029 }
00030 }
00031 }
00032
00033
00034 #endif