MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
fvstructuredzonalbc.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 STRUCTUREDZONALBC_H
8#define STRUCTUREDZONALBC_H
9
10#include <vector>
12#include "globals.h"
13
15 public:
16 StructuredZonalComm(const MInt, const MInt, const MInt);
17
20 const MInt noVars;
21 MFloat* buffer = nullptr;
22 MInt* mapCellId = nullptr;
23};
24
26 public:
29
35
40 MInt* start = nullptr;
41 MInt* end = nullptr;
42
43 std::unique_ptr<StructuredInterpolation<3>> interpolation;
44
48
49 // communicator
50
61
62 std::vector<std::unique_ptr<StructuredZonalComm>> sndComm;
63 std::vector<std::unique_ptr<StructuredZonalComm>> rcvComm;
64
65 MPI_Status* sndStatus = nullptr;
66 MPI_Request* sndRequest = nullptr;
67 MPI_Status* rcvStatus = nullptr;
68 MPI_Request* rcvRequest = nullptr;
69};
70
71
72#endif
MPI_Request * sndRequest
std::unique_ptr< StructuredInterpolation< 3 > > interpolation
std::vector< std::unique_ptr< StructuredZonalComm > > rcvComm
MPI_Request * rcvRequest
std::vector< std::unique_ptr< StructuredZonalComm > > sndComm
int32_t MInt
Definition: maiatypes.h:62
double MFloat
Definition: maiatypes.h:52
bool MBool
Definition: maiatypes.h:58