[petsc-users] Uninterpolated DMPlex mesh with several depth levels all pointing to nodes only

2018-03-06 Thread Emiel van de Ven
Hi All, When I load a mesh from gmsh into a DM object, and not interpolate it, in 3D I only get the nodes and the tetrahedral elements. However, I'd also like to retain the faces that I've put under a physical group that contain the boundary conditions. As I understand it, in the function DMPlexC

[petsc-users] DMLabelFilter start index 0 question

2018-07-19 Thread Emiel van de Ven
Dear PETSc users, I have a mesh where I have a label that contains some elements. If I understand correctly, after uniform refinement, the label also contains the refined faces and vertices. Since I'd like to have only cells in the label, I thought to remove the rest using something like: DMPlexG

Re: [petsc-users] DMLabelFilter start index 0 question

2018-07-19 Thread Emiel van de Ven
k response! Best, Emiel Op do 19 jul. 2018 om 12:48 schreef Matthew Knepley : > On Thu, Jul 19, 2018 at 6:21 AM Emiel van de Ven < > emiel.van.de@gmail.com> wrote: > >> Dear PETSc users, >> >> I have a mesh where I have a label that contains some elements.