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

Abstract class for ACA post processing. More...

#include <acapostprocessing.h>

Inheritance diagram for AcaPostProcessing:
[legend]
Collaboration diagram for AcaPostProcessing:
[legend]

Public Member Functions

 AcaPostProcessing (const MPI_Comm comm)
 
virtual ~AcaPostProcessing ()=default
 
virtual void init_ ()=0
 
void init (const MInt noObservers, const MInt noGlobalObservers, const MInt offsetObserver, const MInt noSamples, const MFloat *const coords, const MFloat *const frequencies, const MString outPath)
 
virtual void calc (const MInt observerId, const MFloat *const data, const MFloat *const dataComplex=nullptr)=0
 
virtual void finish ()=0
 

Protected Attributes

MPI_Comm m_mpiComm
 
MInt m_rank
 
MInt m_noObservers = -1
 
MInt m_noGlobalObservers = -1
 
MInt m_offsetObserver = 0
 
MInt m_noSamples = -1
 
MString m_outPath
 
const MFloatm_coords = nullptr
 
const MFloatm_frequencies = nullptr
 

Detailed Description

Definition at line 12 of file acapostprocessing.h.

Constructor & Destructor Documentation

◆ AcaPostProcessing()

AcaPostProcessing::AcaPostProcessing ( const MPI_Comm  comm)
inline

Definition at line 25 of file acapostprocessing.h.

25: m_mpiComm(comm) { MPI_Comm_rank(m_mpiComm, &m_rank); }
MPI_Comm m_mpiComm
MInt m_rank

◆ ~AcaPostProcessing()

virtual AcaPostProcessing::~AcaPostProcessing ( )
virtualdefault

Member Function Documentation

◆ calc()

virtual void AcaPostProcessing::calc ( const MInt  observerId,
const MFloat *const  data,
const MFloat *const  dataComplex = nullptr 
)
pure virtual

◆ finish()

virtual void AcaPostProcessing::finish ( )
pure virtual

◆ init()

void AcaPostProcessing::init ( const MInt  noObservers,
const MInt  noGlobalObservers,
const MInt  offsetObserver,
const MInt  noSamples,
const MFloat *const  coords,
const MFloat *const  frequencies,
const MString  outPath 
)
inline

Definition at line 28 of file acapostprocessing.h.

29 {
30 m_noObservers = noObservers;
31 m_noGlobalObservers = noGlobalObservers;
32 m_offsetObserver = offsetObserver;
33 m_noSamples = noSamples;
34 m_coords = coords;
35 m_frequencies = frequencies;
36 m_outPath = outPath;
37 init_();
38 }
MInt m_noGlobalObservers
virtual void init_()=0
MInt m_offsetObserver
const MFloat * m_coords
MInt m_noObservers
MInt m_noSamples
const MFloat * m_frequencies
MString m_outPath

◆ init_()

virtual void AcaPostProcessing::init_ ( )
pure virtual

Member Data Documentation

◆ m_coords

const MFloat* AcaPostProcessing::m_coords = nullptr
protected

Definition at line 21 of file acapostprocessing.h.

◆ m_frequencies

const MFloat* AcaPostProcessing::m_frequencies = nullptr
protected

Definition at line 22 of file acapostprocessing.h.

◆ m_mpiComm

MPI_Comm AcaPostProcessing::m_mpiComm
protected

Definition at line 14 of file acapostprocessing.h.

◆ m_noGlobalObservers

MInt AcaPostProcessing::m_noGlobalObservers = -1
protected

Definition at line 17 of file acapostprocessing.h.

◆ m_noObservers

MInt AcaPostProcessing::m_noObservers = -1
protected

Definition at line 16 of file acapostprocessing.h.

◆ m_noSamples

MInt AcaPostProcessing::m_noSamples = -1
protected

Definition at line 19 of file acapostprocessing.h.

◆ m_offsetObserver

MInt AcaPostProcessing::m_offsetObserver = 0
protected

Definition at line 18 of file acapostprocessing.h.

◆ m_outPath

MString AcaPostProcessing::m_outPath
protected

Definition at line 20 of file acapostprocessing.h.

◆ m_rank

MInt AcaPostProcessing::m_rank
protected

Definition at line 15 of file acapostprocessing.h.


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