Commit 08dae251 authored by Timothee Chabat's avatar Timothee Chabat
Browse files

WIP Mulitblock support for Gmsh Writer

 - Topology is exporting correctly
parent 93e89f4a
......@@ -98,7 +98,7 @@
<Group name="sources"/>
<Group name="filters"/>
<DataTypeDomain name="input_type" composite_data_supported="0">
<DataTypeDomain name="input_type" composite_data_supported="1">
<DataType value="vtkUnstructuredGrid"/>
This diff is collapsed.
This diff is collapsed.
......@@ -30,6 +30,7 @@
struct GmshWriterInternal;
class vtkUnstructuredGrid;
class vtkDataSetAttributes;
class vtkDataObject;
class VTKGMSHIO_EXPORT vtkGmshWriter : public vtkWriter
......@@ -62,14 +63,6 @@ public:
vtkGetMacro(WriteAllTimeSteps, bool);
* Get the input of this writer as an unstructured grid.
vtkUnstructuredGrid* GetInput();
vtkUnstructuredGrid* GetInput(int port);
~vtkGmshWriter() override;
......@@ -93,7 +86,12 @@ private:
void LoadCellData();
void LoadData(vtkDataSetAttributes* data, const char* type);
int LoadGridIntoPhysicalGroup(vtkUnstructuredGrid* input, std::string name, int dim = -1);
int LoadGridData(vtkUnstructuredGrid* input);
int InitViews(vtkUnstructuredGrid* input);
GmshWriterInternal* Internal;
vtkDataObject* OriginalInput;
vtkGmshWriter(const vtkGmshWriter&) = delete;
void operator=(const vtkGmshWriter&) = delete;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment