[petsc-users] Refine DMPlex with a Refinement Function

Daniel Mckinnell d_mckinnell at aol.co.uk
Thu Aug 1 10:59:26 CDT 2019


Hi,

I have been having some trouble trying to refine a DMPlex object using a Refinement Function. I have been working with reference to the code discussed here: https://lists.mcs.anl.gov/mailman/htdig/petsc-users/2019-April/038341.html including the code from the GitHub directory mentioned. The error I have been getting is as follows:

[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: No grid refiner of dimension 2 registered
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.11.2, unknown
[0]PETSC ERROR: ./fpf on a arch-linux2-c-debug named cromars by daniel Thu Aug  1 15:40:18 2019
[0]PETSC ERROR: Configure options −−download−f2cblaslapack=yes −−with−debugging=1 −−download−metis=yes −−download−parmetis=yes −−with−fortran−bindings=0 −−with−python=0 -download-openmpi=1 −−with−c−support −−with−clanguage=cxx
[0]PETSC ERROR: #1 DMPlexRefine_Internal() line 215 in /home/daniel/petsc/src/dm/impls/plex/plexadapt.c
[0]PETSC ERROR: #2 DMRefine_Plex() line 10381 in /home/daniel/petsc/src/dm/impls/plex/plexrefine.c
[0]PETSC ERROR: #3 DMRefine() line 1881 in /home/daniel/petsc/src/dm/interface/dm.c

Any help would be greatly appreciated.

Thanks,

Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190801/2db71377/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: for_petsc_forum.cpp
Type: text/x-c++src
Size: 1691 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190801/2db71377/attachment.bin>


More information about the petsc-users mailing list