Skip to content
Snippets Groups Projects
Commit 4184403b authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

write into a single file

[[Imported from SVN: r9852]]
parent b6d31f31
No related branches found
No related tags found
No related merge requests found
...@@ -228,8 +228,10 @@ int main (int argc, char *argv[]) try ...@@ -228,8 +228,10 @@ int main (int argc, char *argv[]) try
//std::cout << x << std::endl; //std::cout << x << std::endl;
// Output result // Output result
LeafAmiraMeshWriter<GridType>::writeGrid(grid, "resultGrid"); LeafAmiraMeshWriter<GridType> amiramesh;
LeafAmiraMeshWriter<GridType>::writeBlockVector(grid, x, "resultGridFunc"); amiramesh.addLeafGrid(grid,true);
amiramesh.addVertexData(x, grid.leafIndexSet());
amiramesh.write("resultGrid");
} catch (Exception e) { } catch (Exception e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment