diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc index 1dde871fe1f6c3541122a055601688097d5b6c62..6482213faf5c115c16c232a47e54adae567d96c0 100644 --- a/cosserat-continuum.cc +++ b/cosserat-continuum.cc @@ -190,7 +190,7 @@ int main (int argc, char *argv[]) try for (int j=0; j<3; j++) dirichletNodes[grid->leafIndexSet().index(*vIt)][j] = true; } - if (vIt->geometry().corner(0)[0] < -239 ) + if (vIt->geometry().corner(0)[1] < -239 ) neumannNodes[grid->leafIndexSet().index(*vIt)][0] = true; #endif }