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

remove some dead code

[[Imported from SVN: r8635]]
parent 36329d20
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
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