Skip to content
Snippets Groups Projects
Commit 6c6b5803 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Print the number of Neumann and Dirichlet nodes for each process separately

parent e3f7808d
No related branches found
No related tags found
1 merge request!72Cosserat-Continuum-Nonplanar
...@@ -237,10 +237,10 @@ int main (int argc, char *argv[]) try ...@@ -237,10 +237,10 @@ int main (int argc, char *argv[]) try
BoundaryPatch<GridView> dirichletBoundary(gridView, dirichletVertices); BoundaryPatch<GridView> dirichletBoundary(gridView, dirichletVertices);
BoundaryPatch<GridView> neumannBoundary(gridView, neumannVertices); BoundaryPatch<GridView> neumannBoundary(gridView, neumannVertices);
if (mpiHelper.rank()==0) std::cout << "On rank " << mpiHelper.rank() << ": Dirichlet boundary has " << dirichletBoundary.numFaces()
std::cout << "Neumann boundary has " << neumannBoundary.numFaces() << " faces\n"; << " faces and " << dirichletVertices.count() << " nodes.\n";
std::cout << "On rank " << mpiHelper.rank() << ": Neumann boundary has " << neumannBoundary.numFaces() << " faces.\n";
#ifdef MIXED_SPACE
BitSetVector<1> deformationDirichletNodes(deformationFEBasis.size(), false); BitSetVector<1> deformationDirichletNodes(deformationFEBasis.size(), false);
constructBoundaryDofs(dirichletBoundary,deformationFEBasis,deformationDirichletNodes); constructBoundaryDofs(dirichletBoundary,deformationFEBasis,deformationDirichletNodes);
......
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