Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit 713c429e authored by George Zagaris's avatar George Zagaris
Browse files

COMP: Change SetInput to SetInputData

Change-Id: I44dcf455a68971d91e175aaf6ca840ff38ca1588
parent f451cac2
......@@ -21,8 +21,8 @@
#ifndef AMRCOMMON_H_
#define AMRCOMMON_H_
#include <cassert>
#include <sstream>
#include <cassert> // For C++ assert
#include <sstream> // For C++ string streams
#include "vtkHierarchicalBoxDataSet.h"
#include "vtkMultiBlockDataSet.h"
......@@ -52,7 +52,7 @@ void WriteUniformGrid( vtkUniformGrid *g, std::string prefix )
std::ostringstream oss;
oss << prefix << "." << imgWriter->GetDefaultFileExtension();
imgWriter->SetFileName( oss.str().c_str() );
imgWriter->SetInput( g );
imgWriter->SetInputData( g );
imgWriter->Write();
imgWriter->Delete();
......@@ -74,7 +74,7 @@ void WriteAMRData( vtkHierarchicalBoxDataSet *amrData, std::string prefix )
oss << prefix << "." << myAMRWriter->GetDefaultFileExtension();
myAMRWriter->SetFileName( oss.str().c_str() );
myAMRWriter->SetInput( amrData );
myAMRWriter->SetInputData( amrData );
myAMRWriter->Write();
myAMRWriter->Delete();
}
......@@ -121,7 +121,7 @@ void WriteMultiBlockData( vtkMultiBlockDataSet *mbds, std::string prefix )
oss.str(""); oss.clear();
oss << prefix << "." << writer->GetDefaultFileExtension();
writer->SetFileName( oss.str( ).c_str( ) );
writer->SetInput( mbds );
writer->SetInputData( mbds );
writer->Write();
writer->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