Loading [MathJax]/extensions/tex2jax.js
MAIA
bb96820c
Multiphysics at AIA
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
Variables
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
c
e
m
p
s
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
_
a
b
c
d
e
f
g
i
j
l
m
n
p
r
s
t
u
v
w
Related Functions
a
c
d
f
g
i
l
m
o
p
s
t
v
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
a
c
d
f
g
i
l
m
n
o
p
r
s
t
w
Variables
c
g
h
i
l
m
n
s
Typedefs
a
b
e
g
m
p
r
s
z
Enumerations
a
b
c
d
e
f
g
i
l
m
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
Loading...
Searching...
No Matches
lptbndrycell.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 LPTBNDRYCELL_H
8
#define LPTBNDRYCELL_H
9
10
#include <vector>
11
#include "
INCLUDE/maiaconstants.h
"
12
#include "
INCLUDE/maiatypes.h
"
13
14
template
<MInt nDim>
15
class
LPTBndryCell
{
16
public
:
17
static
void
init
(
MInt
,
MInt
,
MInt
,
MInt
,
MInt
);
18
19
static
MInt
m_maxNoSurfaces
;
20
21
MInt
m_cellId
;
22
MFloat
m_volume
;
23
MFloat
*
m_coordinates
=
nullptr
;
24
MInt
m_noSrfcs
;
25
26
struct
BodySurface
{
27
MFloat
*
m_coordinates
=
nullptr
;
28
MFloat
*
m_normal
=
nullptr
;
29
MFloat
*
m_velocity
=
nullptr
;
30
MFloat
**
m_planeCoordinates
=
nullptr
;
31
};
32
33
BodySurface
**
m_srfcs
=
nullptr
;
34
35
static
MInt
staticElementSize
() {
36
return
(
sizeof
(
MInt
) * (1 + 1)
// cell id and no-surfaces
37
+
sizeof
(
MFloat
) * (1)
// volume
38
+
sizeof
(
MFloat
) * (nDim)
// coordinates
39
+
sizeof
(
MFloat
) *
m_maxNoSurfaces
40
* (nDim
// normal
41
+ nDim
// coordinates
42
+ nDim
// velocity
43
+ nDim * nDim)
// planeCoordinates
44
+
sizeof
(
MFloat
*) *
m_maxNoSurfaces
* (nDim * nDim)
// planeCoordinates
45
+
sizeof
(
BodySurface
*) *
m_maxNoSurfaces
+
sizeof
(
BodySurface
) *
m_maxNoSurfaces
);
46
}
47
48
void
allocateElements
(
void
*,
void
*,
const
MInt
);
49
void
moveElements
(
void
*);
50
};
51
52
#endif
// ifndef LPTBNDRYCELL_H
LPTBndryCell
Definition:
lptbndrycell.h:15
LPTBndryCell::m_coordinates
MFloat * m_coordinates
Definition:
lptbndrycell.h:23
LPTBndryCell::m_srfcs
BodySurface ** m_srfcs
Definition:
lptbndrycell.h:33
LPTBndryCell::moveElements
void moveElements(void *)
Definition:
lptbndrycell.cpp:34
LPTBndryCell::m_maxNoSurfaces
static MInt m_maxNoSurfaces
Definition:
lptbndrycell.h:19
LPTBndryCell::init
static void init(MInt, MInt, MInt, MInt, MInt)
Definition:
lptbndrycell.cpp:18
LPTBndryCell::staticElementSize
static MInt staticElementSize()
Definition:
lptbndrycell.h:35
LPTBndryCell::allocateElements
void allocateElements(void *, void *, const MInt)
Definition:
lptbndrycell.cpp:26
LPTBndryCell::m_noSrfcs
MInt m_noSrfcs
Definition:
lptbndrycell.h:24
LPTBndryCell::m_volume
MFloat m_volume
Definition:
lptbndrycell.h:22
LPTBndryCell::m_cellId
MInt m_cellId
Definition:
lptbndrycell.h:21
maiaconstants.h
maiatypes.h
MInt
int32_t MInt
Definition:
maiatypes.h:62
MFloat
double MFloat
Definition:
maiatypes.h:52
LPTBndryCell::BodySurface
Definition:
lptbndrycell.h:26
LPTBndryCell::BodySurface::m_normal
MFloat * m_normal
Definition:
lptbndrycell.h:28
LPTBndryCell::BodySurface::m_planeCoordinates
MFloat ** m_planeCoordinates
Definition:
lptbndrycell.h:30
LPTBndryCell::BodySurface::m_velocity
MFloat * m_velocity
Definition:
lptbndrycell.h:29
LPTBndryCell::BodySurface::m_coordinates
MFloat * m_coordinates
Definition:
lptbndrycell.h:27
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
LPT
lptbndrycell.h
Generated on Sun Jun 16 2024 23:45:02 for MAIA by
1.9.5