Sierra Toolkit
Version of the Day
CellTopology.hpp
1
#ifndef stk_mesh_fem_CellTopology_hpp
2
#define stk_mesh_fem_CellTopology_hpp
3
4
#ifdef HAVE_SHARDS_DEBUG
5
#define STK_MESH_FEM_CHECK_REQUIRE( S ) S
6
#else
7
#define STK_MESH_FEM_CHECK_REQUIRE( S )
/* empty */
8
#endif
9
10
#include <Shards_CellTopologyTraits.hpp>
11
#include <Shards_CellTopology.hpp>
12
#include <Shards_CellTopologyData.h>
13
#include <Shards_BasicTopologies.hpp>
14
15
namespace
stk_classic
{
16
namespace
mesh {
17
namespace
fem {
18
19
typedef
shards::CellTopology CellTopology;
20
21
22
23
template
<
typename
id
_type >
24
int
findPermutation(
const
CellTopology top ,
25
const
id_type *
const
expected_node ,
26
const
id_type *
const
actual_node )
27
{
28
return
shards::findPermutation( *top.getCellTopologyData() , expected_node , actual_node );
29
}
30
33
}
// namespace fem
34
}
// namespace mesh
35
}
// namespace stk_classic
36
37
#undef STK_MESH_FEM_CHECK_REQUIRE
38
39
#endif // stk_mesh_fem_CellTopology_hpp
40
stk_classic
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
stk_mesh
stk_mesh
fem
CellTopology.hpp
Generated by
1.8.14