From 79152423c3161eccb6b6b19e9a1e97ee681d56d5 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 25 Apr 2012 16:42:26 +0000 Subject: [PATCH] remove some dead code [[Imported from SVN: r8635]] --- cosserat-continuum.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/cosserat-continuum.cc b/cosserat-continuum.cc index 64c89646..e2a36d57 100644 --- a/cosserat-continuum.cc +++ b/cosserat-continuum.cc @@ -151,19 +151,6 @@ int main (int argc, char *argv[]) try // Read Dirichlet values // ///////////////////////////////////////// -#if 0 - BitSetVector<1> allNodes(grid.size(dim)); - allNodes.setAll(); - BoundaryPatch<GridType::LeafGridView> dirichletBoundary(grid.leafView(), allNodes); - - BitSetVector<blocksize> dirichletNodes(grid.size(dim), false); - for (int i=0; i<dirichletNodes.size(); i++) { - // Only translation dofs are Dirichlet - if (dirichletBoundary.containsVertex(i)) - for (int j=0; j<3; j++) - dirichletNodes[i][j] = true; - } -#else BitSetVector<blocksize> dirichletNodes(grid.size(dim), false); BitSetVector<1> neumannNodes(grid.size(dim), false); @@ -181,7 +168,6 @@ int main (int argc, char *argv[]) try } } -#endif ////////////////////////////////////////////////////////////////////////////// // Assemble Neumann term @@ -198,9 +184,6 @@ int main (int argc, char *argv[]) try // Initial solution // ////////////////////////// - FieldVector<double,3> yAxis(0); - yAxis[1] = 1; - vIt = grid.leafbegin<dim>(); for (; vIt!=vEndIt; ++vIt) { -- GitLab