MAIA
bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
fvstructuredzonalbc.cpp
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
#include "
fvstructuredzonalbc.h
"
8
9
10
StructuredZonalComm::StructuredZonalComm
(
const
MInt
_noCells,
const
MInt
_localId,
const
MInt
_noVars)
11
: bufferSize(_noCells), localId(_localId), noVars(_noVars) {
12
mAlloc
(
mapCellId
,
bufferSize
,
"bufferMapCellId"
, -1, AT_);
13
mAlloc
(
buffer
,
noVars
*
bufferSize
,
"buffer"
, -1.0, AT_);
14
}
15
16
StructuredZonalBC::StructuredZonalBC
()
17
: receiverBlockId(-1),
18
noCellsGlobalBC(0),
19
noCellsLocalBC(0),
20
hasLocalBCMap(false),
21
hasSTG(false),
22
noGlobalRcvDomains(0),
23
noGlobalSndDomains(0),
24
noSndNghbrDomains(0),
25
noRcvNghbrDomains(0),
26
noZonalVariables(0) {
27
mAlloc
(
start
, 3,
"start"
, 0, AT_);
28
mAlloc
(
end
, 3,
"end"
, 0, AT_);
29
}
30
31
StructuredZonalBC::~StructuredZonalBC
() {}
mAlloc
void mAlloc(T *&a, const MLong N, const MString &objectName, MString function)
allocates memory for one-dimensional array 'a' of size N
Definition:
alloc.h:173
StructuredZonalBC::end
MInt * end
Definition:
fvstructuredzonalbc.h:41
StructuredZonalBC::~StructuredZonalBC
~StructuredZonalBC()
Definition:
fvstructuredzonalbc.cpp:31
StructuredZonalBC::start
MInt * start
Definition:
fvstructuredzonalbc.h:40
StructuredZonalBC::StructuredZonalBC
StructuredZonalBC()
Definition:
fvstructuredzonalbc.cpp:16
StructuredZonalComm::buffer
MFloat * buffer
Definition:
fvstructuredzonalbc.h:21
StructuredZonalComm::StructuredZonalComm
StructuredZonalComm(const MInt, const MInt, const MInt)
Definition:
fvstructuredzonalbc.cpp:10
StructuredZonalComm::noVars
const MInt noVars
Definition:
fvstructuredzonalbc.h:20
StructuredZonalComm::mapCellId
MInt * mapCellId
Definition:
fvstructuredzonalbc.h:22
StructuredZonalComm::bufferSize
const MInt bufferSize
Definition:
fvstructuredzonalbc.h:18
fvstructuredzonalbc.h
MInt
int32_t MInt
Definition:
maiatypes.h:62
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
FV
fvstructuredzonalbc.cpp
Generated on Sun Jun 16 2024 23:44:46 for MAIA by
1.9.5