[petsc-users] DMPlexGetSupport

Dharmendar Reddy dharmareddy84 at gmail.com
Sun Apr 28 19:36:08 CDT 2013


Hello,
          I am seeing an issue using DMPlexGetSupport.

I am trying to get the Ids of cells sharing a given facet in mesh.

I have attached a test code for a small 3 x 3 square mesh. When i print the
support for the 12 facets it has, i see 4 internal facets and 8 boundary
faces, as expected. But the cell Ids are wrong.

 Surcessfully created DM From Cell List
Mesh in 2 dimensions:
  0-cells: 9
  1-cells: 12
  2-cells: 4
Labels:
  depth: 3 strata of sizes (9, 12, 4)
 printing support for facet
 edge id start=          13 edge id end=          24
 f:          13 c:           0
 f:          14 c:           0           1
 f:          15 c:           0           2
 f:          16 c:           0
 f:          17 c:           0
 f:          18 c:           0
 f:          19 c:           0           0
 f:          20 c:           0           0
 f:          21 c:           0
 f:          22 c:           0
 f:          23 c:           0
 f:          24 c:           0

-- 
-----------------------------------------------------
Dharmendar Reddy Palle
Graduate Student
Microelectronics Research center,
University of Texas at Austin,
10100 Burnet Road, Bldg. 160
MER 2.608F, TX 78758-4445
e-mail: dharmareddy84 at gmail.com
Phone: +1-512-350-9082
United States of America.
Homepage: https://webspace.utexas.edu/~dpr342
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130428/7be0f7d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testDMSupport.F90
Type: application/octet-stream
Size: 4781 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130428/7be0f7d5/attachment.obj>


More information about the petsc-users mailing list