MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
cartesiannetcdf.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 CARTESIANNETCDF_H
8#define CARTESIANNETCDF_H
9
10#include "INCLUDE/maiatypes.h"
11
20 public:
22 : nDim("nDim"),
23 noCells("noCells"),
24 noConsistentCells("noConsistentCells"),
25 domainId("domainId"),
26 adjacentDomains("adjacentDomains"),
27 windowCellCode("windowCellCode"),
28 originalDomain("originalDomain"),
29 currentDomain("currentDomain"),
30 originalId("originalId"),
31 periodicDomain("periodicDomain"),
32 quasiPeriodicDomain("quasiPeriodicDomain"),
33 noChildIds("noChildIds"),
34 noCellsDirections("noCellsDirections"),
35 noNghbrIds("noNghbrIds"),
36 lengthLevel0("lengthLevel0"),
37 maxLevel("maxLevel"),
38 parentIds("parentIds"),
39 noCellChildIds("noCellChildIds"),
40 childIds("childIds"),
41 noCellNghbrIds("noCellNghbrIds"),
42 nghbrIds("nghbrIds"),
43 intCoordinates("intCoordinates"),
44 level("level"),
45 per("per"),
46 qper("qper"),
47
48 noBndCnds("noBndCnds"),
49 bndCndDim("bndCndDim."),
50 bndCndIds("bndCndIds"),
51 bndCellIds("bndCellIds"),
52 bndCellSideIds("bndCellSideIds"),
53
54 coordinates("coordinates"),
55 bodyCoordinates("bodyCoordinates"),
56
57 cellIds("cellIds"),
58 volume("volume"),
59 adaptation("adaptation"),
60 cutSideIds("cutSideIds"),
61 noCutSideIds("noCutSideIds"),
62 nonFluidSideIds("nonFluidSideIds"),
63 noNonFluidSideIds("noNonFluidSideIds"),
64 bndryCndId("bndryCndId"),
65 slope("slope"),
66 curvature("curvature"),
67 area("area"),
68 normalVctr("normalVctr"),
69 cutCoordinates("cutCoordinates"),
70 noCutPoints("noCutPoints"),
71 cutWedgeIds("cutWedgeIds"),
72 segmentIds("segmentIds"),
73 bodyIds("bodyIds"),
74 srfcs("srfcs"),
75 noSrfcs("noSrfcs"),
76
77
78 rightHandSide("rightHandSide"),
79 rcnstrctnConstants("rcnstrctnConstants"),
80 noRcnstrctnNghbrIds("noRcnstrctnNghbrIds"),
81 rcnstrctnNghbrIds("rcnstrctnNghbrIds"),
82 u_Velocity("u_Velocity"),
83 v_Velocity("v_Velocity"),
84 w_Velocity("w_Velocity"),
85 temperature("temperature"),
86 energy("energy"),
87 rho("rho"),
88 passiveScalar("passiveScalar"),
89 minValues("minValues"),
90 maxValues("maxValues"),
91 noSamples("noSamples"),
92 globalTimeStep("globalTimeStep"),
93 del("del"),
94 time("time"),
95 physicalTime("physicalTime"),
96 firstMaxResidual("firstMaxResidual"),
97 firstAvrgResidual("firstAvrgResidual"),
98 levelSetFunction("levelSetFunction"),
99 oldLevelSetFunction("oldLevelSetFunction"),
100 extensionVelocity("extensionVelocity"),
101 semiLagrangeXShiftRef("semiLagrangeXShiftRef"),
102
103 cellIsInactive("cellIsInactive"),
104
105 flowCellId("flowCellId"),
106 bndryId("bndryId") {
107 variables[0] = "variables0";
108 variables[1] = "variables1";
109 variables[2] = "variables2";
110 variables[3] = "variables3";
111 variables[4] = "variables4";
112 variables[5] = "variables5";
113
114 oldVariables[0] = "oldVariables0";
115 oldVariables[1] = "oldVariables1";
116 oldVariables[2] = "oldVariables2";
117 oldVariables[3] = "oldVariables3";
118 oldVariables[4] = "oldVariables4";
119 oldVariables[5] = "oldVariables5";
120
121 variables[6] = "variables6";
122 variables[7] = "variables7";
123 variables[8] = "variables8";
124 variables[9] = "variables9";
125 variables[10] = "variables10";
126 variables[11] = "variables11";
127 variables[12] = "variables12";
128 variables[13] = "variables13";
129 variables[14] = "variables14";
130 variables[15] = "variables15";
131 variables[16] = "variables16";
132 variables[17] = "variables17";
133 variables[18] = "variables18";
134 variables[19] = "variables19";
135 variables[20] = "variables20";
136 variables[21] = "variables21";
137 variables[22] = "variables22";
138 averagedVariables[0] = "averagedVariables0";
139 averagedVariables[1] = "averagedVariables1";
140 averagedVariables[2] = "averagedVariables2";
141 averagedVariables[3] = "averagedVariables3";
142 averagedVariables[4] = "averagedVariables4";
143 averagedVariables[5] = "averagedVariables5";
144 averagedVariables[6] = "averagedVariables6";
145 averagedVariables[7] = "averagedVariables7";
146 averagedVariables[8] = "averagedVariables8";
147 dt1Variables[0] = "dt1Variables0";
148 dt1Variables[1] = "dt1Variables1";
149 dt1Variables[2] = "dt1Variables2";
150 dt1Variables[3] = "dt1Variables3";
151 dt1Variables[4] = "dt1Variables4";
152 dt1Variables[5] = "dt1Variables5";
153 dt2Variables[0] = "dt2Variables0";
154 dt2Variables[1] = "dt2Variables1";
155 dt2Variables[2] = "dt2Variables2";
156 dt2Variables[3] = "dt2Variables3";
157 dt2Variables[4] = "dt2Variables4";
158 dt2Variables[5] = "dt2Variables5";
159 distributions[0] = "distributions0";
160 distributions[1] = "distributions1";
161 distributions[2] = "distributions2";
162 distributions[3] = "distributions3";
163 distributions[4] = "distributions4";
164 distributions[5] = "distributions5";
165 distributions[6] = "distributions6";
166 distributions[7] = "distributions7";
167 distributions[8] = "distributions8";
168 distributions[9] = "distributions9";
169 distributions[10] = "distributions10";
170 distributions[11] = "distributions11";
171 distributions[12] = "distributions12";
172 distributions[13] = "distributions13";
173 distributions[14] = "distributions14";
174 distributions[15] = "distributions15";
175 distributions[16] = "distributions16";
176 distributions[17] = "distributions17";
177 distributions[18] = "distributions18";
178 distributions[19] = "distributions19";
179 distributions[20] = "distributions20";
180 distributions[21] = "distributions21";
181 distributions[22] = "distributions22";
182 distributions[23] = "distributions23";
183 distributions[24] = "distributions24";
184 distributions[25] = "distributions25";
185 distributions[26] = "distributions26";
186 oldDistributions[0] = "oldDistributions0";
187 oldDistributions[1] = "oldDistributions1";
188 oldDistributions[2] = "oldDistributions2";
189 oldDistributions[3] = "oldDistributions3";
190 oldDistributions[4] = "oldDistributions4";
191 oldDistributions[5] = "oldDistributions5";
192 oldDistributions[6] = "oldDistributions6";
193 oldDistributions[7] = "oldDistributions7";
194 oldDistributions[8] = "oldDistributions8";
195 oldDistributions[9] = "oldDistributions9";
196 oldDistributions[10] = "oldDistributions10";
197 oldDistributions[11] = "oldDistributions11";
198 oldDistributions[12] = "oldDistributions12";
199 oldDistributions[13] = "oldDistributions13";
200 oldDistributions[14] = "oldDistributions14";
201 oldDistributions[15] = "oldDistributions15";
202 oldDistributions[16] = "oldDistributions16";
203 oldDistributions[17] = "oldDistributions17";
204 oldDistributions[18] = "oldDistributions18";
205 oldDistributions[19] = "oldDistributions19";
206 oldDistributions[20] = "oldDistributions20";
207 oldDistributions[21] = "oldDistributions21";
208 oldDistributions[22] = "oldDistributions22";
209 oldDistributions[23] = "oldDistributions23";
210 oldDistributions[24] = "oldDistributions24";
211 oldDistributions[25] = "oldDistributions25";
212 oldDistributions[26] = "oldDistributions26";
213 distributionsThermal[0] = "distributionsThermal0";
214 distributionsThermal[1] = "distributionsThermal1";
215 distributionsThermal[2] = "distributionsThermal2";
216 distributionsThermal[3] = "distributionsThermal3";
217 distributionsThermal[4] = "distributionsThermal4";
218 distributionsThermal[5] = "distributionsThermal5";
219 distributionsThermal[6] = "distributionsThermal6";
220 distributionsThermal[7] = "distributionsThermal7";
221 distributionsThermal[8] = "distributionsThermal8";
222 distributionsThermal[9] = "distributionsThermal9";
223 distributionsThermal[10] = "distributionsThermal10";
224 distributionsThermal[11] = "distributionsThermal11";
225 distributionsThermal[12] = "distributionsThermal12";
226 distributionsThermal[13] = "distributionsThermal13";
227 distributionsThermal[14] = "distributionsThermal14";
228 distributionsThermal[15] = "distributionsThermal15";
229 distributionsThermal[16] = "distributionsThermal16";
230 distributionsThermal[17] = "distributionsThermal17";
231 distributionsThermal[18] = "distributionsThermal18";
232 distributionsThermal[19] = "distributionsThermal19";
233 distributionsThermal[20] = "distributionsThermal20";
234 distributionsThermal[21] = "distributionsThermal21";
235 distributionsThermal[22] = "distributionsThermal22";
236 distributionsThermal[23] = "distributionsThermal23";
237 distributionsThermal[24] = "distributionsThermal24";
238 distributionsThermal[25] = "distributionsThermal25";
239 distributionsThermal[26] = "distributionsThermal26";
240 oldDistributionsThermal[0] = "oldDistributionsThermal0";
241 oldDistributionsThermal[1] = "oldDistributionsThermal1";
242 oldDistributionsThermal[2] = "oldDistributionsThermal2";
243 oldDistributionsThermal[3] = "oldDistributionsThermal3";
244 oldDistributionsThermal[4] = "oldDistributionsThermal4";
245 oldDistributionsThermal[5] = "oldDistributionsThermal5";
246 oldDistributionsThermal[6] = "oldDistributionsThermal6";
247 oldDistributionsThermal[7] = "oldDistributionsThermal7";
248 oldDistributionsThermal[8] = "oldDistributionsThermal8";
249 oldDistributionsThermal[9] = "oldDistributionsThermal9";
250 oldDistributionsThermal[10] = "oldDistributionsThermal10";
251 oldDistributionsThermal[11] = "oldDistributionsThermal11";
252 oldDistributionsThermal[12] = "oldDistributionsThermal12";
253 oldDistributionsThermal[13] = "oldDistributionsThermal13";
254 oldDistributionsThermal[14] = "oldDistributionsThermal14";
255 oldDistributionsThermal[15] = "oldDistributionsThermal15";
256 oldDistributionsThermal[16] = "oldDistributionsThermal16";
257 oldDistributionsThermal[17] = "oldDistributionsThermal17";
258 oldDistributionsThermal[18] = "oldDistributionsThermal18";
259 oldDistributionsThermal[19] = "oldDistributionsThermal19";
260 oldDistributionsThermal[20] = "oldDistributionsThermal20";
261 oldDistributionsThermal[21] = "oldDistributionsThermal21";
262 oldDistributionsThermal[22] = "oldDistributionsThermal22";
263 oldDistributionsThermal[23] = "oldDistributionsThermal23";
264 oldDistributionsThermal[24] = "oldDistributionsThermal24";
265 oldDistributionsThermal[25] = "oldDistributionsThermal25";
266 oldDistributionsThermal[26] = "oldDistributionsThermal26";
267 }
268
269 public:
270 const MChar* nDim;
292 const MChar* level;
293 const MChar* per;
294 const MChar* qper;
295
296 const MChar* noBndCnds; // dimension
297 const MChar* bndCndDim; // dimension
298 const MChar* bndCndIds; // variable
299 const MChar* bndCellIds; // variable
300 const MChar* bndCellSideIds; // variable
301
304
306 const MChar* volume;
313 const MChar* slope;
315 const MChar* area;
322 const MChar* srfcs;
324
333 const MChar* energy;
334 const MChar* rho;
340 const MChar* del;
341 const MChar* time;
350
353
354 const MChar* variables[23];
363};
364
365#endif // CARTESIANNETCDF_H
define the names of all variables and attributes in the netcdf file
const MChar * originalId
const MChar * periodicDomain
const MChar * intCoordinates
const MChar * noCutSideIds
const MChar * noCells
const MChar * semiLagrangeXShiftRef
const MChar * u_Velocity
const MChar * normalVctr
const MChar * originalDomain
const MChar * dt1Variables[6]
const MChar * level
const MChar * rcnstrctnNghbrIds
const MChar * time
const MChar * noSrfcs
const MChar * noRcnstrctnNghbrIds
const MChar * windowCellCode
const MChar * qper
const MChar * per
const MChar * childIds
const MChar * noNghbrIds
const MChar * cellIsInactive
const MChar * rho
const MChar * slope
const MChar * lengthLevel0
const MChar * oldDistributionsThermal[27]
const MChar * adaptation
const MChar * parentIds
const MChar * noCellNghbrIds
const MChar * nonFluidSideIds
const MChar * flowCellId
const MChar * passiveScalar
const MChar * noConsistentCells
const MChar * noChildIds
const MChar * globalTimeStep
const MChar * curvature
const MChar * del
const MChar * energy
const MChar * bndCellSideIds
const MChar * distributions[27]
const MChar * cutSideIds
const MChar * rightHandSide
const MChar * firstMaxResidual
const MChar * variables[23]
const MChar * adjacentDomains
const MChar * oldLevelSetFunction
const MChar * volume
const MChar * nghbrIds
const MChar * noCutPoints
const MChar * srfcs
const MChar * area
const MChar * extensionVelocity
const MChar * domainId
const MChar * bndCndDim
const MChar * maxLevel
const MChar * oldDistributions[27]
const MChar * segmentIds
const MChar * noNonFluidSideIds
const MChar * currentDomain
const MChar * bndryCndId
const MChar * quasiPeriodicDomain
const MChar * noSamples
const MChar * nDim
const MChar * bodyIds
const MChar * averagedVariables[9]
const MChar * bndryId
const MChar * cutWedgeIds
const MChar * noCellChildIds
const MChar * rcnstrctnConstants
const MChar * physicalTime
const MChar * minValues
const MChar * bndCndIds
const MChar * bodyCoordinates
const MChar * noCellsDirections
const MChar * dt2Variables[6]
const MChar * coordinates
const MChar * distributionsThermal[27]
const MChar * maxValues
const MChar * cellIds
const MChar * v_Velocity
const MChar * bndCellIds
const MChar * temperature
const MChar * noBndCnds
const MChar * w_Velocity
const MChar * levelSetFunction
const MChar * firstAvrgResidual
const MChar * cutCoordinates
const MChar * oldVariables[6]
char MChar
Definition: maiatypes.h:56