MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
ionetcdf.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 IONETCDF_H
8#define IONETCDF_H
9
10#include "contexttypes.h"
11#include "maiapnetcdf.h"
12
13#ifndef MAIA_MS_COMPILER
14class PARALLELIO_DEFAULT_BACKEND;
15#else
16class ParallelIoHdf5;
17#endif
18
19class IONetcdf {
20#ifdef MAIA_MS_COMPILER
22#else
23 using ParallelIo = PARALLELIO_DEFAULT_BACKEND;
24#endif
25 public:
26 assembly* readPropertyFile(const MString& fileName);
28 IONetcdf();
29 ~IONetcdf();
30
31 private:
32 assembly* m_assembly = nullptr;
34 // std::pair<propertyIterator, propertyIterator> m_pair;
37 zoneMap* m_zoneMap = nullptr;
38 void readZones(ParallelIo* bdFile);
39 void buildDefaultZone();
40 void makeProperty(MProperty*, const MString&, ParallelIo* bdFile);
43};
44
45#endif
MInt m_noSolvers
Definition: ionetcdf.h:33
void readZones(ParallelIo *bdFile)
Definition: ionetcdf.cpp:223
MBool checkZoneConsistency()
Definition: ionetcdf.cpp:945
propertyMap * m_propertyMapLowercase
Definition: ionetcdf.h:36
void buildDefaultZone()
Definition: ionetcdf.cpp:282
assembly * readPropertyFile(const MString &fileName)
Definition: ionetcdf.cpp:330
IONetcdf()
Definition: ionetcdf.cpp:17
propertyMap * m_propertyMap
Definition: ionetcdf.h:35
MBool checkPropertyConsistency()
Definition: ionetcdf.cpp:923
~IONetcdf()
Definition: ionetcdf.cpp:23
zoneMap * m_zoneMap
Definition: ionetcdf.h:37
void makeProperty(MProperty *, const MString &, ParallelIo *bdFile)
Definition: ionetcdf.cpp:31
MInt solverCount()
Definition: ionetcdf.cpp:29
assembly * m_assembly
Definition: ionetcdf.h:32
std::map< MString, MZone * > zoneMap
Definition: contexttypes.h:17
std::multimap< MString, MProperty * > propertyMap
Definition: contexttypes.h:15
int32_t MInt
Definition: maiatypes.h:62
std::basic_string< char > MString
Definition: maiatypes.h:55
bool MBool
Definition: maiatypes.h:58
Definition: contexttypes.h:19