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

fix one hard-wired grid dimension

[[Imported from SVN: r6509]]
parent 78d4007e
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ void solve (const shared_ptr<GridType>& grid,
int idx = grid->leafIndexSet().index(*vIt);
FieldVector<double,3> v;
FieldVector<double,2> pos = vIt->geometry().corner(0);
FieldVector<double,dim> pos = vIt->geometry().corner(0);
FieldVector<double,3> axis;
axis[0] = pos[0]; axis[1] = pos[1]; axis[2] = 1;
Rotation<3,double> rotation(axis, pos.two_norm()*M_PI*3);
......
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