[petsc-users] DMPlexCreateSubMesh

Dharmendar Reddy dharmareddy84 at gmail.com
Thu Nov 14 14:55:41 CST 2013


Hello,
         Looks like there is a change in the DMPlexCreateSubMesh interface.

My code was running fine with petsc 3.4.3 but when i switched petsc to
next. I am getting runtime error due to DMPlexCreateSubMesh..

The interface changed from:
(
http://www.mcs.anl.gov/petsc/petsccurrent/src/dm/impls/plex/plexsubmesh.c.html#DMPlexCreateSubmesh
)

2087: *PetscErrorCode
<http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode>
DMPlexCreateSubmesh
<http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPlexCreateSubmesh.html#DMPlexCreateSubmesh>(DM
dm, const char vertexLabel[], PetscInt
<http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html#PetscInt>
value, DM *subdm)*


to
(
https://bitbucket.org/petsc/petsc/src/1d94116c89ca7d6e640482ce2684b8b52bac7dff/src/dm/impls/plex/plexsubmesh.c?at=next#cl-2468
)

PetscErrorCode DMPlexCreateSubmesh(DM dm, DMLabel vertexLabel,
PetscInt value, DM *subdm)


How should i change my code to make use of the new interface ? I have
had issue using DMLabel related function from my fortran code.


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131114/eed7edd1/attachment.html>


More information about the petsc-users mailing list