MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
GeometryIOBase Class Referenceabstract

#include <geometryiobase.h>

Inheritance diagram for GeometryIOBase:
[legend]

Public Member Functions

virtual geometryAssemblyreadPropertyFile (MString fileName)=0
 
virtual MInt segmentCount ()=0
 
virtual void writeProperties (const MChar *, geometryPropertyMap *)
 
 GeometryIOBase (const MPI_Comm comm)
 
virtual ~GeometryIOBase ()
 
MInt domainId ()
 
MInt noDomains ()
 

Private Attributes

MInt m_domainId
 
MInt m_noDomains
 

Detailed Description

Definition at line 13 of file geometryiobase.h.

Constructor & Destructor Documentation

◆ GeometryIOBase()

GeometryIOBase::GeometryIOBase ( const MPI_Comm  comm)
inline

Definition at line 18 of file geometryiobase.h.

18 {
19 MPI_Comm_rank(comm, &m_domainId);
20 MPI_Comm_size(comm, &m_noDomains);
21 };

◆ ~GeometryIOBase()

virtual GeometryIOBase::~GeometryIOBase ( )
inlinevirtual

Definition at line 22 of file geometryiobase.h.

22{};

Member Function Documentation

◆ domainId()

MInt GeometryIOBase::domainId ( )
inline

Definition at line 24 of file geometryiobase.h.

24{ return m_domainId; };

◆ noDomains()

MInt GeometryIOBase::noDomains ( )
inline

Definition at line 25 of file geometryiobase.h.

25{ return m_noDomains; };

◆ readPropertyFile()

virtual geometryAssembly * GeometryIOBase::readPropertyFile ( MString  fileName)
pure virtual

Implemented in GeometryIONetcdf, and GeometryIOToml.

◆ segmentCount()

virtual MInt GeometryIOBase::segmentCount ( )
pure virtual

Implemented in GeometryIONetcdf, and GeometryIOToml.

◆ writeProperties()

virtual void GeometryIOBase::writeProperties ( const MChar ,
geometryPropertyMap  
)
inlinevirtual

Reimplemented in GeometryIONetcdf.

Definition at line 17 of file geometryiobase.h.

17{};

Member Data Documentation

◆ m_domainId

MInt GeometryIOBase::m_domainId
private

Definition at line 28 of file geometryiobase.h.

◆ m_noDomains

MInt GeometryIOBase::m_noDomains
private

Definition at line 29 of file geometryiobase.h.


The documentation for this class was generated from the following file: