Skip to content
Snippets Groups Projects
Commit 50d3e93f authored by Youett, Jonathan's avatar Youett, Jonathan Committed by youett
Browse files

bugfix: There is no variable init, use the gridview to compute the number of vertices

[[Imported from SVN: r9510]]
parent 3ad52834
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ void create(std::vector<RigidBodyMotion<double,spaceDim> >& rod,
{
// Make Dirichlet bitfields for the rods as well
Dune::BitSetVector<6> rodDirichletNodes(init.size(),false);
Dune::BitSetVector<6> rodDirichletNodes(gridView_.size(GridView::dimension),false);
for (int j=0; j<6; j++) {
rodDirichletNodes[0][j] = true;
......
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