[petsc-dev] DMCreateSubDM error

Blaise A Bourdin bourdin at lsu.edu
Tue Dec 5 18:47:41 CST 2017


Hi,

I am building torture test for DMPlex with somewhat complicated dof layout. In some situations, DMCreateSubDM fails.

DMUAS has 3 fields corresponding to
U: corresponding to vector-valued P1 or P2 Lagrange FE, Sigma, vector-valued cell centered, and Alpha, same element type as U but scalar.
For Tri / Tet, P1 or P2, all is well, but with Quads / Hex and polynomial order 2, when trying to extract the DM for the (U,alpha) pair of fields, I get a "Nonconforming object sizes” error.

Try EXOTest12 -i TwoQuads.exo -order 2 for instance

I am attaching an code illustrating this behavior and three example meshes.

Regards,
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/20171206/c7e19822/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EXOTest12.c
Type: application/octet-stream
Size: 8622 bytes
Desc: EXOTest12.c
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171206/c7e19822/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OneHex8.exo
Type: application/octet-stream
Size: 1752 bytes
Desc: OneHex8.exo
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171206/c7e19822/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twobytwo.exo
Type: application/octet-stream
Size: 1564 bytes
Desc: twobytwo.exo
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171206/c7e19822/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TwoQuads.exo
Type: application/octet-stream
Size: 1708 bytes
Desc: TwoQuads.exo
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171206/c7e19822/attachment-0003.obj>


More information about the petsc-dev mailing list