15 #ifndef __INTREPID2_CELLDATA_CPP__
16 #define __INTREPID2_CELLDATA_CPP__
20 const CellTopologyData*
21 Intrepid2::getCellTopologyData(
const unsigned& cellTopologyKey){
22 const CellTopologyData* cellTopologyData;
23 switch (cellTopologyKey) {
24 case shards::Line<2>::key:
25 cellTopologyData = shards::getCellTopologyData<shards::Line<2>>();
27 case shards::Triangle<3>::key:
28 cellTopologyData = shards::getCellTopologyData<shards::Triangle<3>>();
30 case shards::Quadrilateral<4>::key:
31 cellTopologyData = shards::getCellTopologyData<shards::Quadrilateral<4>>();
33 case shards::Tetrahedron<4>::key:
34 cellTopologyData = shards::getCellTopologyData<shards::Tetrahedron<4>>();
36 case shards::Hexahedron<8>::key:
37 cellTopologyData = shards::getCellTopologyData<shards::Hexahedron<8>>();
39 case shards::Wedge<6>::key:
40 cellTopologyData = shards::getCellTopologyData<shards::Wedge<6>>();
42 case shards::Pyramid<5>::key:
43 cellTopologyData = shards::getCellTopologyData<shards::Pyramid<5>>();
46 case shards::Line<3>::key:
47 cellTopologyData = shards::getCellTopologyData<shards::Line<3>>();
49 case shards::Triangle<6>::key:
50 cellTopologyData = shards::getCellTopologyData<shards::Triangle<6>>();
52 case shards::Quadrilateral<8>::key:
53 cellTopologyData = shards::getCellTopologyData<shards::Quadrilateral<8>>();
55 case shards::Quadrilateral<9>::key:
56 cellTopologyData = shards::getCellTopologyData<shards::Quadrilateral<9>>();
58 case shards::Tetrahedron<10>::key:
59 cellTopologyData = shards::getCellTopologyData<shards::Tetrahedron<10>>();
61 case shards::Tetrahedron<11>::key:
62 cellTopologyData = shards::getCellTopologyData<shards::Tetrahedron<11>>();
64 case shards::Hexahedron<20>::key:
65 cellTopologyData = shards::getCellTopologyData<shards::Hexahedron<20>>();
67 case shards::Hexahedron<27>::key:
68 cellTopologyData = shards::getCellTopologyData<shards::Hexahedron<27>>();
70 case shards::Wedge<15>::key:
71 cellTopologyData = shards::getCellTopologyData<shards::Wedge<15>>();
73 case shards::Wedge<18>::key:
74 cellTopologyData = shards::getCellTopologyData<shards::Wedge<18>>();
76 case shards::Pyramid<13>::key:
77 cellTopologyData = shards::getCellTopologyData<shards::Pyramid<13>>();
79 case shards::Pyramid<14>::key:
80 cellTopologyData = shards::getCellTopologyData<shards::Pyramid<14>>();
83 INTREPID2_TEST_FOR_EXCEPTION(
true, std::invalid_argument,
84 ">>> ERROR (Intrepid2::getBaseCellTopology): invalid cell topology.");
87 return cellTopologyData;
Header file for the classes: Intrepid2::RefSubcellParametrization, Intrepid2::RefCellNodes, Intrepid2::RefCellCenter.