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

add support for 3d grids

[[Imported from SVN: r7434]]
parent b8007f70
No related branches found
No related tags found
No related merge requests found
......@@ -249,8 +249,13 @@ int main (int argc, char *argv[]) try
DeformedGridType deformedGrid(grid, deformationFunction);
LeafAmiraMeshWriter<DeformedGridType>::writeSurfaceGrid(deformedGrid.leafView(), "cosseratGrid");
if (dim==2)
LeafAmiraMeshWriter<DeformedGridType>::writeSurfaceGrid(deformedGrid.leafView(), "cosseratGrid");
else {
LeafAmiraMeshWriter<DeformedGridType> amiramesh(deformedGrid);
amiramesh.write("cosseratGrid");
}
// Make three vector fields containing the directors
// I don't think there is a simpler way to get the data into vanilla Amira
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment