[deal.II] Neighbors search within a particular radius of an element

2018-01-24 Thread Sukhminder Singh
Is there any way to find element neighbors with in a particular *radius* from its center? One approach is to compare distance with every other element in the whole mesh but then the algorithmic complexity will be O(N^2). Another approach is to map all the elements to a coarse structured grid wi

[deal.II] PetSc Hybrid MPI-OPENMP Parallelization with Spack Dealii

2018-01-24 Thread Sukhminder Singh
I installed Spack package of Dealii on a machine with 32 cores (48 virtual cores) and ran a petsc-parallel code. If I run using only one MPI process, then I only get one core running for the solver part. Shouldn't it use all the available cores within a node? I think its installed with MPI only