[petsc-dev] PetscSectionSetDofbreaks if PetscSectionSetNumFields is called AFTER PetscSectionSetChart
Blaise A Bourdin
bourdin at lsu.edu
Wed Nov 15 12:09:29 CST 2017
Hi,
I a seeing a bizarre behavior when setting up a DM for multiple fields.
In the attached example, if the call to PetscSectionSetNumFields is moved until AFTER that to PetscSectionSetChart, I get an error while calling PetscSectionSetDof.
Is this intended? If so, the documentation needs some mention of this behavior.
Blaise
--
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171115/5e94ef02/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EXOTest10.c
Type: application/octet-stream
Size: 9822 bytes
Desc: EXOTest10.c
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171115/5e94ef02/attachment.obj>
More information about the petsc-dev
mailing list