[petsc-users] DMPlex Submesh

Matthew Knepley knepley at gmail.com
Sun Apr 28 23:20:43 CDT 2013


On Sat, Apr 27, 2013 at 8:23 PM, Dharmendar Reddy
<dharmareddy84 at gmail.com>wrote:

> Hello,
>         I was testing the plexsubmesh functionality.  I created a 1D
> submesh from a 2D mesh. The 2D mesh is a square mesh with uniform x-y grid.
>
> x [0,L] and y [0,L]
> numX = 10, numY = 91
>
> The 1D mesh is along y axis at second x-grid point.
>
> when i call a DMView on submesh, i get the follwoing:
>
> Mesh in 1 dimensions:
>   0-cells: 91
>   1-cells: 90
> Labels:
>   Boundary: 1 strata of sizes (2)
>   depth: 3 strata of sizes (91, 90, 180)
>
> I was expecting :
>
> depth: 2 strata of sizes (91, 90)
>
> Looks like the submesh has the information of 2-cells of the parent mesh.
> Is this a default behavior ?
>

Yes, the default behavior is to retain the cells adjacent to the submesh. I
have needed this for anything I have
ever done. Even though it seems messier, it is much more practical.

   Matt


> Thanks
> Reddy
> --
> -----------------------------------------------------
> 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
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130428/bb592ae4/attachment.html>


More information about the petsc-users mailing list