Commit 760ff3c6 authored by George Zagaris's avatar George Zagaris
Browse files

COMP: Update code to reflect API changes

Minor changes in response to recent API changes
in vtkAMRDualMeshExtractor.
parent 5b01dbbf
......@@ -125,7 +125,12 @@ int main( int argc, char **argv )
vtkAMRDualMeshExtractor *dme = vtkAMRDualMeshExtractor::New();
dme->SetInput( newData );
dme->Update();
dme->WriteMultiBlockData( dme->GetOutput() );
std::cout << "Writting dual...";
std::cout.flush();
dme->WriteMultiBlockData( dme->GetOutput(), "FINALDUAL" );
std::cout << "[DONE]\n";
std::cout.flush();
// STEP 3: CleanUp
dme->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