Skip to content
Snippets Groups Projects
Commit 81cf6b11 authored by Oliver Sander's avatar Oliver Sander
Browse files

bugfix

[[Imported from SVN: r1078]]
parent df51d35d
No related branches found
No related tags found
No related merge requests found
......@@ -58,9 +58,9 @@ void Dune::AmiraMeshWriter<GridType, DiscFuncType>::writeGrid(const GridType& gr
int index = vertex->index();
FieldVector<double, 3> coords = vertex->geometry()[0];
((float*)geo_node_data->dataPtr())[3*index+0] = coords(0);
((float*)geo_node_data->dataPtr())[3*index+1] = coords(1);
((float*)geo_node_data->dataPtr())[3*index+2] = coords(2);
((float*)geo_node_data->dataPtr())[3*index+0] = coords[0];
((float*)geo_node_data->dataPtr())[3*index+1] = coords[1];
((float*)geo_node_data->dataPtr())[3*index+2] = coords[2];
}
......
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