[petsc-users] IS map for sub mesh

Matthew Knepley knepley at gmail.com
Thu Apr 25 15:57:21 CDT 2013


On Thu, Apr 25, 2013 at 4:48 PM, Dharmendar Reddy
<dharmareddy84 at gmail.com>wrote:

>
>
>
> On Thu, Apr 25, 2013 at 3:31 PM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> On Thu, Apr 25, 2013 at 3:35 PM, Dharmendar Reddy <
>> dharmareddy84 at gmail.com> wrote:
>>
>>> Hello,
>>>  I need to access the map from points in subdm to points in dm. Can you
>>> please provide fortran binding for
>>>
>>> DMPlexCreateSubpointIS(DM dm, IS *subpointIS)
>>>
>>> Pushed to next.
>>
>>
>>>  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.
>>>
>>
>> The intention here is to use DMPlexGetSubpointMap().
>>
>>     So, i should do the calls below ?
>
> DMPlexGetSubpointMap(DM dm, DMLabel subpointMap)
>
> DMLabelGetStratumIS(subpointMap,depth,IS)
>
>
> I have had trouble using DMLabel in my fortran code earlier.
> I can give it a try again, Is there a fortran binding for above functions ?
>
>
Hmm, I have not tested it. I will put it in an example.

  Thanks,

     Matt


> Thanks
> Reddy
>
>
>
>
>
>>    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
>>
>
>
>
> --
> -----------------------------------------------------
> 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/20130425/6157a82d/attachment.html>


More information about the petsc-users mailing list