NuTo
Numerics Tool
Voigt.h
Go to the documentation of this file.
1 #pragma once
2 namespace NuTo
3 {
4 struct Voigt
5 {
6  static constexpr int Dim(int d)
7  {
8  return d == 1 ? 1 : (d == 2 ? 3 : 6);
9  }
10 };
11 } /* NuTo */
Definition: Voigt.h:4
const NuTo::DofType d("...", 1)
static constexpr int Dim(int d)
Definition: Voigt.h:6
Definition: Exception.h:6