VertexCFD
0.0-dev
src
utils
VertexCFD_Utils_MagneticDim.hpp
1
#ifndef VERTEXCFD_UTILS_MAGNETICDIM_HPP
2
#define VERTEXCFD_UTILS_MAGNETICDIM_HPP
3
4
#include <Phalanx_ExtentTraits.hpp>
5
6
namespace
VertexCFD
7
{
8
9
// create constexpr int defining the size of the MagneticDim dimension
10
static
constexpr
int
num_magnetic_field_dim = 3;
11
12
// PHX tag denoting magnetic field dimension for an MDField
13
struct
MagneticDim
14
{
15
};
16
17
}
// namespace VertexCFD
18
19
namespace
PHX
20
{
21
22
// Shortened version of tag for, e.g., printing DAG
23
template
<>
24
std::string print<VertexCFD::MagneticDim>();
25
26
}
// namespace PHX
27
28
// Register tag as PHX extent
29
PHX_IS_EXTENT(
VertexCFD::MagneticDim
)
30
31
#endif // VERTEXCFD_UTILS_MAGNETICDIM_HPP
VertexCFD
Definition:
tstMethodManufacturedSolutionBC.cpp:23
VertexCFD::MagneticDim
Definition:
VertexCFD_Utils_MagneticDim.hpp:14
Generated by
1.8.20