Thanks. The code works. Now, i need to access the map from points in subdm to points in dm. I need to use this function right ?
DMPlexCreateSubpointIS(DM dm, IS *subpointIS) Fortra binding please.. Also, i was thinking it may be of use to have interface like this.. DMPlexCreateSubpointIS(DM dm, PetscInt pointDimInSubdm, IS *subpointIS) this way i can have map from say (dim)-cells in subdm to corresponding (dim)-cells in dm if a subdm is a lower dimensional mesh. Of course i can use the first interface by checking the dim of the point in subpointIs before using. thanks Reddy On Mon, Apr 22, 2013 at 12:51 PM, Matthew Knepley <knepley at gmail.com> wrote: > On Mon, Apr 22, 2013 at 1:44 AM, Dharmendar Reddy <dharmareddy84 at gmail.com > > wrote: > >> >> Looks like there is not fortran binding for this function, can you please >> add it ? >> > > Change made and Fortran binding added. > > Thanks, > > Matt > > >> Thanks >> Reddy >> >> >> On Sun, Apr 21, 2013 at 10:48 PM, Dharmendar Reddy < >> dharmareddy84 at gmail.com> wrote: >> >>> Hello, >>> I see that i can extract submesh from a DM object using >>> >>> DMPlexCreateSubmesh(DM dm, const char vertexLabel[], DM *subdm) >>> >>> >>> Can i request for an interface where i can extract >>> >>> DMPlexCreateSubmesh(DM dm, const char vertexLabel[], PetscInt value, DM >>> *subdm) >>> >>> I have to create a lot of subdms typically few hundred. I can always >>> create required number of unique labels, but i was wondering if i can group >>> them with single label but different values of strata. >>> >>> How do i extract boundary nodes of a given mesh ? For example i have a >>> triangular mesh on square boundary, I need to mark the nodes on the square >>> boundary. >>> >>> 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 >>> >> >> >> >> -- >> ----------------------------------------------------- >> 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 > -- ----------------------------------------------------- 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/20130422/d7282bea/attachment.html>
