MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
lbconstants.h
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#ifndef LBCONSTANTS_H
8#define LBCONSTANTS_H
9
11
12namespace lbconstants {
13
15 {0, 1, 6, 8, 7, 9, 10, 12, 11, 13}, {1, 0, 8, 6, 9, 7, 12, 10, 13, 11}, {2, 3, 6, 7, 8, 9, 14, 16, 15, 17},
16 {3, 2, 7, 6, 9, 8, 16, 14, 17, 15}, {4, 5, 10, 11, 12, 13, 14, 15, 16, 17}, {5, 4, 11, 10, 13, 12, 15, 14, 17, 16}};
17
18template <MUint D>
20 if(D == 2) {
21 const MString tmp[3]{"ReStress_uu_mean", "ReStress_uv_mean", "ReStress_vv_mean"};
22 return tmp[i];
23 } else {
24 const MString tmp[6]{"ReStress_uu_mean", "ReStress_uv_mean", "ReStress_uw_mean",
25 "ReStress_vv_mean", "ReStress_vw_mean", "ReStress_ww_mean"};
26 return tmp[i];
27 }
28}
29
30const MFloat lb_gamma2 = 1.4;
31
32} // namespace lbconstants
33
34#endif
int32_t MInt
Definition: maiatypes.h:62
uint32_t MUint
Definition: maiatypes.h:63
std::basic_string< char > MString
Definition: maiatypes.h:55
double MFloat
Definition: maiatypes.h:52
const MString lb_ReStressMeanNames(MUint i)
Definition: lbconstants.h:19
const MFloat lb_gamma2
Definition: lbconstants.h:30
const MInt lb_extrapolationPairs[6][10]
Definition: lbconstants.h:14