IOSS 2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CatalystManagerBase.h
Go to the documentation of this file.
1// Copyright(C) 1999-2021 National Technology & Engineering Solutions
2// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3// NTESS, the U.S. Government retains certain rights in this software.
4//
5// See packages/seacas/LICENSE for details
6
7#ifndef __CATALYST_MANAGER_BASE_H
8#define __CATALYST_MANAGER_BASE_H
9
10#ifndef __CATALYST_PLUGIN_BUILD
11#include "iovs_export.h"
12#else
13#define IOVS_EXPORT
14#endif
15
18#include <memory>
19#include <string>
20#include <vector>
21
22namespace Iovs {
23
24 class IOVS_EXPORT CatalystManagerBase
25 {
26
27 public:
30
31 virtual int getCatalystOutputIDNumber() = 0;
32
33 virtual std::string getCatalystPluginVersion() = 0;
34
35 // Parameters:
36 // cataystPythonFilename - Python file with instructions for Catalyst.
37 // restartTag - if not empty, contains the current restart iteration string, ie s0001
38 // enableLogging - turn on logging in the adapter. Default is off.
39 // debugLevel - enable catalyst debug output 0, 1, 2. Default is 0.
40 // resultsOutputFilename - filename associated with the Ioss results output block.
41 // catalystOutputDirectory - name of the output directory for storing Catalyst output.
42 // Default is CatalystOutput.
43 // catalystData - string data vector for development and debugging.
64
65 virtual std::unique_ptr<Iovs_cgns::CatalystCGNSMeshBase>
67
68 // Parameters:
69 // underscoreVectors - joined vector variable names end in an underscore.
70 // applyDisplacements - a nodal variable named DISPL or displ is applied to
71 // the mesh node coordinates each time-step.
77
78 virtual std::unique_ptr<Iovs_exodus::CatalystExodusMeshBase>
80 };
81
82} // namespace Iovs
83
84#endif // __CATALYST_MANAGER_BASE_H
virtual std::unique_ptr< Iovs_cgns::CatalystCGNSMeshBase > createCatalystCGNSMesh(CatalystMeshInit &cmInit)=0
virtual std::unique_ptr< Iovs_exodus::CatalystExodusMeshBase > createCatalystExodusMesh(CatalystExodusMeshInit &cmInit)=0
virtual ~CatalystManagerBase()
Definition CatalystManagerBase.h:29
virtual std::string getCatalystPluginVersion()=0
CatalystManagerBase()
Definition CatalystManagerBase.h:28
virtual int getCatalystOutputIDNumber()=0
Definition CatalystManager.h:22
Definition CatalystManagerBase.h:73
bool applyDisplacements
Definition CatalystManagerBase.h:75
bool underScoreVectors
Definition CatalystManagerBase.h:74
Definition CatalystManagerBase.h:45
std::string restartTag
Definition CatalystManagerBase.h:50
std::string catalystBlockJSON
Definition CatalystManagerBase.h:47
std::string catalystSeparatorCharacter
Definition CatalystManagerBase.h:48
std::string catalystOutputDirectory
Definition CatalystManagerBase.h:58
bool enableCatalystMultiInputPipeline
Definition CatalystManagerBase.h:62
std::string catalystMultiInputPipelineName
Definition CatalystManagerBase.h:61
bool writeCatalystMeshFilePerProc
Definition CatalystManagerBase.h:55
bool writeCatalystMeshOneFile
Definition CatalystManagerBase.h:53
std::string catalystMeshFilePerProcPrefix
Definition CatalystManagerBase.h:56
bool enableLogging
Definition CatalystManagerBase.h:51
std::string catalystMeshOneFilePrefix
Definition CatalystManagerBase.h:54
std::vector< std::string > catalystData
Definition CatalystManagerBase.h:59
std::string resultsOutputFilename
Definition CatalystManagerBase.h:57
std::string catalystPythonFilename
Definition CatalystManagerBase.h:46
int debugLevel
Definition CatalystManagerBase.h:52
std::string catalystInputDeckName
Definition CatalystManagerBase.h:49
std::string catalystInputName
Definition CatalystManagerBase.h:60