| 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_MESH_WRITER_H |
| 8 |
#define __CATALYST_MESH_WRITER_H |
| 9 |
|
| 10 |
#include <string> |
| 11 |
|
| 12 |
class vtkDataObject; |
| 13 |
|
| 14 |
namespace Iovs { |
| 15 |
|
| 16 |
class CatalystMeshWriter |
| 17 |
{ |
| 18 |
|
| 19 |
public: |
| 20 |
CatalystMeshWriter(); |
| 21 |
~CatalystMeshWriter(); |
| 22 |
|
| 23 |
bool outputCatalystMeshOneFileON(); |
| 24 |
void setOutputCatalystMeshOneFilePrefix(std::string &prefix); |
| 25 |
|
| 26 |
bool outputCatalystMeshFilePerProcON(); |
| 27 |
void setOutputCatalystMeshFilePerProcPrefix(std::string &prefix); |
| 28 |
|
| 29 |
void writeCatalystMeshOneFile(vtkDataObject *dobj, int timeStep); |
| 30 |
void writeCatalystMeshFilePerProc(vtkDataObject *dobj, int timeStep); |
| 31 |
|
| 32 |
private: |
| 33 |
bool catalystMeshOneFile; |
| 34 |
bool catalystMeshFilePerProc; |
| 35 |
std::string catalystMeshOneFilePrefix; |
| 36 |
std::string catalystMeshFilePerProcPrefix; |
| 37 |
}; |
| 38 |
|
| 39 |
} // namespace Iovs |
| 40 |
|
| 41 |
#endif /* __CATALYST_MESH_WRITER_H */ |