MantisBT - ParaView | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006967 | ParaView | Bug | public | 2008-05-06 11:54 | 2016-08-12 09:57 |
| Reporter | Burlen | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Topic Name | |||||
| Type | |||||
| Summary | 0006967: vtkXMLHierarchicalBoxDataWriter skips image data when writing | ||||
| Description | When running with mpich, not all of the image data belonging to the current process are output, even though they are there. | ||||
| Steps To Reproduce | |||||
| Additional Information | Code to reproduce: the vtkCTHTestDataSource class is in the tarball as are the resulting dataset for run with -np 2. vtkCTHTestDataSource *cthSrc = vtkCTHTestDataSource::New(); cthSrc->SetDataSetDomain(0,0,0, 11,11,3); cthSrc->SetDataSetOrigin(-3.0,-3.0,-1.0); cthSrc->SetDataSetDx(0.5,0.5,0.5); cthSrc->SetDataSetNBlocks(3,3,1); cthSrc->SetDataSetNCellsX(4); cthSrc->AddFragmentBox(2,5,1, 4,6,2); cthSrc->AddFragmentBox(5,1,1, 6,10,2); cthSrc->AddFragmentBox(7,1,1, 9,2,2); cthSrc->AddFragmentBox(9,5,1, 10,6,2); cthSrc->AddFragmentBox(7,9,1, 9,10,2); cthSrc->SetNumberOfProcs(numProcs); cthSrc->SetProcId(myProcId); vtkHierarchicalBoxDataSet *hbds = cthSrc->GetOutput(); hbds->Update(); if ( ctc.GetStatus("-writeInputData") ) { vtkCompositeDataIterator *it=hbds->NewIterator(); it->InitTraversal(); it->VisitOnlyLeavesOn(); it->SkipEmptyNodesOn(); while(!it->IsDoneWithTraversal()) { vtkAMRBox box=hbds->GetAMRBox(it); vtkUniformGrid *id=dynamic_cast<vtkUniformGrid *>(hbds->GetDataSet(it)); it->GoToNextItem(); cerr << myProcId << ":" << box << "{" << *id <<"}\n"; } ostringstream oss; oss << ctc.GetStringArg("-writeInputData"); oss << "_" << myProcId; vtkXMLHierarchicalBoxDataWriter *xdw = vtkXMLHierarchicalBoxDataWriter::New(); xdw->SetInput( hbds ); xdw->SetFileName( oss.str().c_str() ); xdw->Write(); xdw->Delete(); } ostream &operator<<(ostream &sout, const vtkAMRBox &box) { sout << "("; for (int q=0; q<3; ++q) { sout << box.LoCorner[q] << ","; } sout << (char)0x08 << ")("; for (int q=0; q<3; ++q) { sout << box.HiCorner[q] << ","; } sout << (char)0x08 << ")"; return sout; } | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/6444/hbwbug.tar.gz | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-05-06 11:54 | Burlen | New Issue | |||
| 2008-05-06 11:54 | Burlen | File Added: hbwbug.tar.gz | |||
| 2009-02-17 16:08 | Ken Moreland | Status | backlog => tabled | ||
| 2009-02-17 16:08 | Ken Moreland | Assigned To | => Burlen | ||
| 2009-05-13 13:46 | Utkarsh Ayachit | Target Version | => 3.6 | ||
| 2009-08-25 18:43 | Utkarsh Ayachit | Assigned To | Burlen => | ||
| 2009-08-25 18:43 | Utkarsh Ayachit | Category | => Bug | ||
| 2009-08-25 18:43 | Utkarsh Ayachit | Target Version | 3.6 => 3.8 | ||
| 2016-08-12 09:57 | Kitware Robot | Note Added: 0037572 | |||
| 2016-08-12 09:57 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:57 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:57 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||