IOSS 2.0
Loading...
Searching...
No Matches
CatalystCGNSMesh.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_CGNS_MESH_H
8#define __CATALYST_CGNS_MESH_H
9
10#include "vtkNew.h"
11#include "vtkPartitionedDataSetCollection.h"
12#include <map>
13#include <vector>
16
17class vtkStructuredGrid;
18
19namespace Iovs_cgns {
20
22 {
23
25
26 public:
28
30
31 void PerformCoProcessing(std::vector<int> &error_and_warning_codes,
32 std::vector<std::string> &error_and_warning_messages);
33
34 void SetTimeData(double currentTime, int timeStep);
35
37
39
40 void Delete();
41
42 void AddStructuredZoneData(const ZoneData &zoneData);
43
44 vtkPartitionedDataSetCollection *getPartitionedDataSetCollection();
45
46 private:
50
51 std::map<int, int> zone_id_to_zone_location_map;
52
53 vtkNew<vtkPartitionedDataSetCollection> vpdc;
58 const std::string ASSEMBLY_LABEL = "label";
59 const std::string ASSEMBLY_ROOT_NAME = "IOSS";
60 const std::string ASSEMBLY_STRUCTURED_BLOCKS = "structured_blocks";
63 void createPartitionedDataSet(const ZoneData &zoneData, vtkStructuredGrid *sg);
64 vtkStructuredGrid *getStucturedGrid(const ZoneData &zoneData);
65 };
66
67} // namespace Iovs_cgns
68
69#endif // __CATALYST_CGNS_MESH_H
Definition CatalystManager.h:27
Definition CatalystCGNSMeshBase.h:22
Definition CatalystCGNSMesh.h:22
CatalystCGNSMesh & operator=(const CatalystCGNSMesh &)=delete
void AddStructuredZoneData(const ZoneData &zoneData)
std::string catalystMeshFilePrefix
Definition CatalystCGNSMesh.h:56
void PerformCoProcessing(std::vector< int > &error_and_warning_codes, std::vector< std::string > &error_and_warning_messages)
Iovs::CatalystManager * catManager
Definition CatalystCGNSMesh.h:54
std::map< int, int > zone_id_to_zone_location_map
Definition CatalystCGNSMesh.h:51
CatalystCGNSMesh(const CatalystCGNSMesh &)=delete
const std::string ASSEMBLY_STRUCTURED_BLOCKS
Definition CatalystCGNSMesh.h:60
bool writeCatalystMesh
Definition CatalystCGNSMesh.h:55
vtkPartitionedDataSetCollection * getPartitionedDataSetCollection()
vtkStructuredGrid * getStucturedGrid(const ZoneData &zoneData)
CatalystPipelineInfo catalystPipelineInfo
Definition CatalystCGNSMesh.h:57
const std::string ASSEMBLY_ROOT_NAME
Definition CatalystCGNSMesh.h:59
void createPartitionedDataSet(const ZoneData &zoneData, vtkStructuredGrid *sg)
const std::string ASSEMBLY_LABEL
Definition CatalystCGNSMesh.h:58
const int PDS_STRUCTURED_GRID_INDEX
Definition CatalystCGNSMesh.h:61
void SetTimeData(double currentTime, int timeStep)
vtkNew< vtkPartitionedDataSetCollection > vpdc
Definition CatalystCGNSMesh.h:53
CatalystCGNSMesh(Iovs::CatalystManager *cm, CatalystPipelineInfo &catalystPipelineInfo)
Definition CatalystCGNSMesh.h:19
Definition CatalystManager.h:53
Definition CatalystCGNSMeshBase.h:54