Panzer Version of the Day
Loading...
Searching...
No Matches
Panzer_Dimension.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Panzer: A partial differential equation assembly
4// engine for strongly coupled complex multiphysics systems
5//
6// Copyright 2011 NTESS and the Panzer contributors.
7// SPDX-License-Identifier: BSD-3-Clause
8// *****************************************************************************
9// @HEADER
10
11#ifndef PANZER_DIMENSION_HPP
12#define PANZER_DIMENSION_HPP
13
14#include "Phalanx_ExtentTraits.hpp"
15
16namespace panzer {
17 /*
19 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(Dim)
21 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(IP)
23 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(BASIS)
24
26 // SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(NODE)
27 using NODE = BASIS;
28
30 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(Point)
32 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(Cell)
34 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(Face)
36 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(Dummy)
38 SHARDS_ARRAY_DIM_TAG_SIMPLE_DECLARATION(Edge) // Suzey: 06/11/201
39 */
40
41 struct Dim{};
42 struct IP{};
43 struct BASIS{};
44 using NODE = BASIS;
45 struct Point{};
46 struct Cell{};
47 struct Face{};
48 struct Edge{};
49 struct Dummy{};
50}
51
52namespace PHX {
53 template<> std::string print<panzer::Dim>();
54 template<> std::string print<panzer::IP>();
55 template<> std::string print<panzer::BASIS>();
56 template<> std::string print<panzer::Point>();
57 template<> std::string print<panzer::Cell>();
58 template<> std::string print<panzer::Face>();
59 template<> std::string print<panzer::Edge>();
60 template<> std::string print<panzer::Dummy>();
61}
62
63PHX_IS_EXTENT(panzer::Dim)
64PHX_IS_EXTENT(panzer::IP)
65PHX_IS_EXTENT(panzer::BASIS)
66PHX_IS_EXTENT(panzer::Point)
67PHX_IS_EXTENT(panzer::Cell)
68PHX_IS_EXTENT(panzer::Face)
69PHX_IS_EXTENT(panzer::Edge)
70PHX_IS_EXTENT(panzer::Dummy)
71
72#endif
std::string print< panzer::BASIS >()
std::string print< panzer::Point >()
std::string print< panzer::Dummy >()
std::string print< panzer::IP >()
std::string print< panzer::Edge >()
std::string print< panzer::Dim >()
std::string print< panzer::Face >()
std::string print< panzer::Cell >()