IOSS 2.0
Loading...
Searching...
No Matches
Iovs::CatalystManager Class Reference

#include <CatalystManager.h>

Inheritance diagram for Iovs::CatalystManager:
[legend]
Collaboration diagram for Iovs::CatalystManager:
[legend]

Classes

struct  CatalystPipelineInfo
 
class  CatalystPipelineState
 

Public Types

using CatalystPipelineID = unsigned int
 
using CatalystInputName = std::string
 
using CatalystMultiInputPipelineName = std::string
 

Public Member Functions

 CatalystManager ()
 
 ~CatalystManager ()
 
void parsePhactoriFile (const std::string &filepath, ParseResult &pres)
 
void parsePhactoriString (const std::string &phactori, ParseResult &pres)
 
std::string getCatalystPluginVersion ()
 
std::unique_ptr< Iovs_exodus::CatalystExodusMeshBasecreateCatalystExodusMesh (CatalystExodusMeshInit &cmInit)
 
std::unique_ptr< Iovs_cgns::CatalystCGNSMeshBasecreateCatalystCGNSMesh (CatalystMeshInit &cmInit)
 
int getCatalystOutputIDNumber ()
 
void DeletePipeline (const CatalystPipelineInfo &cpi)
 
void PerformCoProcessing (std::vector< int > &error_and_warning_codes, std::vector< std::string > &error_and_warning_messages, const CatalystPipelineInfo &cpi)
 
void SetTimeData (double currentTime, int timeStep, const CatalystPipelineInfo &cpi)
 
void logMemoryUsageAndTakeTimerReading (const CatalystPipelineInfo &cpi)
 
void WriteToLogFile (const CatalystPipelineInfo &cpi)
 
- Public Member Functions inherited from Iovs::CatalystManagerBase
 CatalystManagerBase ()
 
virtual ~CatalystManagerBase ()
 

Public Attributes

const std::string catalystPluginVersion = "2.0.0"
 

Private Types

typedef std::pair< clock_t, clock_t > TimerPair
 
typedef std::pair< TimerPair, vtkDoubleArray * > LoggingPair
 

Private Member Functions

void initCatalystPythonSystemPaths ()
 
 CatalystManager (const CatalystManager &)=delete
 
CatalystManageroperator= (const CatalystManager &)=delete
 
void initializeIfNeeded ()
 
void finalizeIfNeeded ()
 
bool canCoProcess ()
 
void incrementOutputCounts ()
 
bool writeMeshON (const CatalystPipelineInfo &cpi)
 
void writeMesh (const CatalystPipelineInfo &cpi)
 
CatalystPipelineID getCatalystPipelineID (CatalystMeshInit &cmInit)
 
void initCatalystLogging (const CatalystPipelineInfo &cpi)
 
void initCatalystPipeline (CatalystMeshInit &cmInit, vtkDataObject *vobj, const CatalystPipelineInfo &cpi)
 
void addInputToPipeline (vtkDataObject *vobj, const CatalystPipelineInfo &cpi)
 
CatalystPipelineInfo createCatalystPipelineInfo (CatalystMeshInit &cmInit)
 
void registerMeshInPipeline (CatalystMeshInit &cmInit, vtkDataObject *vobj, const CatalystPipelineInfo &cpi)
 

Private Attributes

CatalystPipelineID catalystOutputIDNumber
 
CatalystPipelineID catalystOutputReferenceCount
 
vtkCPProcessor * coProcessor
 
std::map< CatalystPipelineID, CatalystPipelineStatepipelines
 
std::map< CatalystPipelineID, LoggingPairlogging
 
std::map< CatalystMultiInputPipelineName, CatalystPipelineIDmultiInputPipelines
 

Member Typedef Documentation

◆ CatalystInputName

◆ CatalystMultiInputPipelineName

◆ CatalystPipelineID

◆ LoggingPair

std::pair<TimerPair, vtkDoubleArray *> Iovs::CatalystManager::LoggingPair
private

◆ TimerPair

std::pair<clock_t, clock_t> Iovs::CatalystManager::TimerPair
private

Constructor & Destructor Documentation

◆ CatalystManager() [1/2]

Iovs::CatalystManager::CatalystManager ( )

◆ ~CatalystManager()

Iovs::CatalystManager::~CatalystManager ( )

◆ CatalystManager() [2/2]

Iovs::CatalystManager::CatalystManager ( const CatalystManager & )
privatedelete

Member Function Documentation

◆ addInputToPipeline()

void Iovs::CatalystManager::addInputToPipeline ( vtkDataObject * vobj,
const CatalystPipelineInfo & cpi )
private

◆ canCoProcess()

bool Iovs::CatalystManager::canCoProcess ( )
private

◆ createCatalystCGNSMesh()

std::unique_ptr< Iovs_cgns::CatalystCGNSMeshBase > Iovs::CatalystManager::createCatalystCGNSMesh ( CatalystMeshInit & cmInit)
virtual

◆ createCatalystExodusMesh()

std::unique_ptr< Iovs_exodus::CatalystExodusMeshBase > Iovs::CatalystManager::createCatalystExodusMesh ( CatalystExodusMeshInit & cmInit)
virtual

◆ createCatalystPipelineInfo()

CatalystPipelineInfo Iovs::CatalystManager::createCatalystPipelineInfo ( CatalystMeshInit & cmInit)
private

◆ DeletePipeline()

void Iovs::CatalystManager::DeletePipeline ( const CatalystPipelineInfo & cpi)

◆ finalizeIfNeeded()

void Iovs::CatalystManager::finalizeIfNeeded ( )
private

◆ getCatalystOutputIDNumber()

int Iovs::CatalystManager::getCatalystOutputIDNumber ( )
virtual

◆ getCatalystPipelineID()

CatalystPipelineID Iovs::CatalystManager::getCatalystPipelineID ( CatalystMeshInit & cmInit)
private

◆ getCatalystPluginVersion()

std::string Iovs::CatalystManager::getCatalystPluginVersion ( )
virtual

◆ incrementOutputCounts()

void Iovs::CatalystManager::incrementOutputCounts ( )
private

◆ initCatalystLogging()

void Iovs::CatalystManager::initCatalystLogging ( const CatalystPipelineInfo & cpi)
private

◆ initCatalystPipeline()

void Iovs::CatalystManager::initCatalystPipeline ( CatalystMeshInit & cmInit,
vtkDataObject * vobj,
const CatalystPipelineInfo & cpi )
private

◆ initCatalystPythonSystemPaths()

void Iovs::CatalystManager::initCatalystPythonSystemPaths ( )
private

◆ initializeIfNeeded()

void Iovs::CatalystManager::initializeIfNeeded ( )
private

◆ logMemoryUsageAndTakeTimerReading()

void Iovs::CatalystManager::logMemoryUsageAndTakeTimerReading ( const CatalystPipelineInfo & cpi)

◆ operator=()

CatalystManager & Iovs::CatalystManager::operator= ( const CatalystManager & )
privatedelete

◆ parsePhactoriFile()

void Iovs::CatalystManager::parsePhactoriFile ( const std::string & filepath,
ParseResult & pres )
virtual

◆ parsePhactoriString()

void Iovs::CatalystManager::parsePhactoriString ( const std::string & phactori,
ParseResult & pres )
virtual

◆ PerformCoProcessing()

void Iovs::CatalystManager::PerformCoProcessing ( std::vector< int > & error_and_warning_codes,
std::vector< std::string > & error_and_warning_messages,
const CatalystPipelineInfo & cpi )

◆ registerMeshInPipeline()

void Iovs::CatalystManager::registerMeshInPipeline ( CatalystMeshInit & cmInit,
vtkDataObject * vobj,
const CatalystPipelineInfo & cpi )
private

◆ SetTimeData()

void Iovs::CatalystManager::SetTimeData ( double currentTime,
int timeStep,
const CatalystPipelineInfo & cpi )

◆ writeMesh()

void Iovs::CatalystManager::writeMesh ( const CatalystPipelineInfo & cpi)
private

◆ writeMeshON()

bool Iovs::CatalystManager::writeMeshON ( const CatalystPipelineInfo & cpi)
private

◆ WriteToLogFile()

void Iovs::CatalystManager::WriteToLogFile ( const CatalystPipelineInfo & cpi)

Member Data Documentation

◆ catalystOutputIDNumber

CatalystPipelineID Iovs::CatalystManager::catalystOutputIDNumber
private

◆ catalystOutputReferenceCount

CatalystPipelineID Iovs::CatalystManager::catalystOutputReferenceCount
private

◆ catalystPluginVersion

const std::string Iovs::CatalystManager::catalystPluginVersion = "2.0.0"

◆ coProcessor

vtkCPProcessor* Iovs::CatalystManager::coProcessor
private

◆ logging

std::map<CatalystPipelineID, LoggingPair> Iovs::CatalystManager::logging
private

◆ multiInputPipelines

std::map<CatalystMultiInputPipelineName, CatalystPipelineID> Iovs::CatalystManager::multiInputPipelines
private

◆ pipelines

std::map<CatalystPipelineID, CatalystPipelineState> Iovs::CatalystManager::pipelines
private

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