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
10
#include "
INCLUDE/maiaconstants.h
"
11
12
namespace
lbconstants
{
13
14
const
MInt
lb_extrapolationPairs
[6][10] = {
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
18
template
<MU
int
D>
19
const
MString
lb_ReStressMeanNames
(
MUint
i) {
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
30
const
MFloat
lb_gamma2
= 1.4;
31
32
}
// namespace lbconstants
33
34
#endif
maiaconstants.h
MInt
int32_t MInt
Definition:
maiatypes.h:62
MUint
uint32_t MUint
Definition:
maiatypes.h:63
MString
std::basic_string< char > MString
Definition:
maiatypes.h:55
MFloat
double MFloat
Definition:
maiatypes.h:52
lbconstants
Definition:
lbconstants.h:12
lbconstants::lb_ReStressMeanNames
const MString lb_ReStressMeanNames(MUint i)
Definition:
lbconstants.h:19
lbconstants::lb_gamma2
const MFloat lb_gamma2
Definition:
lbconstants.h:30
lbconstants::lb_extrapolationPairs
const MInt lb_extrapolationPairs[6][10]
Definition:
lbconstants.h:14
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
LB
lbconstants.h
Generated on Sun Jun 16 2024 23:44:57 for MAIA by
1.9.5