7#ifndef GEOMETRYIONETCDF_H
8#define GEOMETRYIONETCDF_H
12#if defined(MAIA_WINDOWS)
13#define NC_MAX_NAME 256
18#ifndef MAIA_MS_COMPILER
19class PARALLELIO_DEFAULT_BACKEND;
25#ifdef MAIA_MS_COMPILER
43 std::pair<geometryPropertyIterator, geometryPropertyIterator>
m_pair;
void distributeBodyProperties()
distributes the body information under all processes
std::pair< geometryPropertyIterator, geometryPropertyIterator > m_pair
GeometryIONetcdf(const MPI_Comm comm)
void receiveBodyProperties()
receives the body information from rank 0
void readBodiesNewIOMethod(ParallelIo *)
geometryAssembly * m_geometryAssembly
void readPropertyFileNewIOMethod(ParallelIo *parallelIo)
reads in the geomertry property file the old way
MBool checkGeometryPropertyConsistency()
void receiveGeometryProperties()
receives the geometry properties from rank 0
geometryPropertyMap * m_geometryPropertyMap
void writeProperties(const MChar *fileName, geometryPropertyMap *pMap)
Write the properties into a netcdf file.
MBool checkBodyConsistency()
void readBodiesOldIOMethod(ParallelIo *)
geometryAssembly * readPropertyFile(MString fileName)
check if the geometry property file is of new or old type and calls the according function
void readPropertyFileOldIOMethod(ParallelIo *parallelIo)
reads in the geomertry property file the old way
void distributeGeometryProperties()
distributes the read geometry properties under all processes
void makeProperty(GeometryProperty *, MString, ParallelIo *)
std::multimap< MString, GeometryProperty * > geometryPropertyMap
std::map< MString, Body * > bodyMap
std::basic_string< char > MString
PARALLELIO_DEFAULT_BACKEND ParallelIo