Sierra Toolkit Version of the Day
CellTopology.hpp
00001 #ifndef stk_mesh_fem_CellTopology_hpp
00002 #define stk_mesh_fem_CellTopology_hpp
00003 
00004 #ifdef HAVE_SHARDS_DEBUG
00005 #define STK_MESH_FEM_CHECK_REQUIRE( S )  S
00006 #else
00007 #define STK_MESH_FEM_CHECK_REQUIRE( S ) /* empty */
00008 #endif
00009 
00010 #include <Shards_CellTopologyTraits.hpp>
00011 #include <Shards_CellTopology.hpp>
00012 #include <Shards_CellTopologyData.h>
00013 #include <Shards_BasicTopologies.hpp>
00014 
00015 namespace stk {
00016 namespace mesh {
00017 namespace fem {
00018 
00019 typedef shards::CellTopology CellTopology;
00020 
00021 
00022 
00023 template< typename id_type >
00024 int findPermutation( const CellTopology top ,
00025                      const id_type * const expected_node ,
00026                      const id_type * const actual_node )
00027 {
00028   return shards::findPermutation( *top.getCellTopologyData() , expected_node , actual_node );
00029 }
00030 
00033 } // namespace fem
00034 } // namespace mesh
00035 } // namespace stk
00036 
00037 #undef STK_MESH_FEM_CHECK_REQUIRE
00038 
00039 #endif // stk_mesh_fem_CellTopology_hpp
00040 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines