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
14
class
PARALLELIO_DEFAULT_BACKEND;
15
#else
16
class
ParallelIoHdf5
;
17
#endif
18
19
class
IONetcdf
{
20
#ifdef MAIA_MS_COMPILER
21
using
ParallelIo
=
ParallelIoHdf5
;
22
#else
23
using
ParallelIo
= PARALLELIO_DEFAULT_BACKEND;
24
#endif
25
public
:
26
assembly
*
readPropertyFile
(
const
MString
& fileName);
27
MInt
solverCount
();
28
IONetcdf
();
29
~IONetcdf
();
30
31
private
:
32
assembly
*
m_assembly
=
nullptr
;
33
MInt
m_noSolvers
;
34
// std::pair<propertyIterator, propertyIterator> m_pair;
35
propertyMap
*
m_propertyMap
=
nullptr
;
36
propertyMap
*
m_propertyMapLowercase
=
nullptr
;
37
zoneMap
*
m_zoneMap
=
nullptr
;
38
void
readZones
(
ParallelIo
* bdFile);
39
void
buildDefaultZone
();
40
void
makeProperty
(
MProperty
*,
const
MString
&,
ParallelIo
* bdFile);
41
MBool
checkZoneConsistency
();
42
MBool
checkPropertyConsistency
();
43
};
44
45
#endif
IONetcdf
Definition:
ionetcdf.h:19
IONetcdf::m_noSolvers
MInt m_noSolvers
Definition:
ionetcdf.h:33
IONetcdf::readZones
void readZones(ParallelIo *bdFile)
Definition:
ionetcdf.cpp:223
IONetcdf::checkZoneConsistency
MBool checkZoneConsistency()
Definition:
ionetcdf.cpp:945
IONetcdf::m_propertyMapLowercase
propertyMap * m_propertyMapLowercase
Definition:
ionetcdf.h:36
IONetcdf::buildDefaultZone
void buildDefaultZone()
Definition:
ionetcdf.cpp:282
IONetcdf::readPropertyFile
assembly * readPropertyFile(const MString &fileName)
Definition:
ionetcdf.cpp:330
IONetcdf::IONetcdf
IONetcdf()
Definition:
ionetcdf.cpp:17
IONetcdf::m_propertyMap
propertyMap * m_propertyMap
Definition:
ionetcdf.h:35
IONetcdf::checkPropertyConsistency
MBool checkPropertyConsistency()
Definition:
ionetcdf.cpp:923
IONetcdf::~IONetcdf
~IONetcdf()
Definition:
ionetcdf.cpp:23
IONetcdf::m_zoneMap
zoneMap * m_zoneMap
Definition:
ionetcdf.h:37
IONetcdf::makeProperty
void makeProperty(MProperty *, const MString &, ParallelIo *bdFile)
Definition:
ionetcdf.cpp:31
IONetcdf::solverCount
MInt solverCount()
Definition:
ionetcdf.cpp:29
IONetcdf::m_assembly
assembly * m_assembly
Definition:
ionetcdf.h:32
MProperty
Definition:
property.h:13
ParallelIoHdf5
Definition:
parallelio_hdf5.h:19
contexttypes.h
zoneMap
std::map< MString, MZone * > zoneMap
Definition:
contexttypes.h:17
propertyMap
std::multimap< MString, MProperty * > propertyMap
Definition:
contexttypes.h:15
maiapnetcdf.h
MInt
int32_t MInt
Definition:
maiatypes.h:62
MString
std::basic_string< char > MString
Definition:
maiatypes.h:55
MBool
bool MBool
Definition:
maiatypes.h:58
a
Definition:
contexttypes.h:19
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
IO
ionetcdf.h
Generated on Sun Jun 16 2024 23:44:54 for MAIA by
1.9.5