diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc index c07af92a5d20250e7342a982eee8e10d1fc5908a..ad93f6f274dd00a857cb9279ca345a372a07228d 100644 --- a/cosserat-continuum.cc +++ b/cosserat-continuum.cc @@ -308,7 +308,7 @@ int main (int argc, char *argv[]) try for (vIt=grid->leafbegin<dim>(); vIt!=vEndIt; ++vIt) { int idx = grid->leafIndexSet().index(*vIt); - if (dirichletNodes[idx][0] and vIt->geometry().corner(0)[0] > upper[0]-1e-3) { + if (dirichletNodes[idx][0]) { // Only the positions have Dirichlet values dirichletValues(vIt->geometry().corner(0), x[idx].r,