[petsc-dev] Diff between DMCreate_Xxx and DMXxxCreate?

Jed Brown jedbrown at mcs.anl.gov
Fri Mar 1 14:50:24 CST 2013


On Fri, Mar 1, 2013 at 3:45 PM, Tim Tautges <tautges at mcs.anl.gov> wrote:

> I see both versions for Plex.  DMPlexCreate seems to create a more "bare"
> object, while DMCreate_Plex has more initialization, and the latter is
> what's registered in dmregall.c.  Are both versions necessary, for
> different settings?


DMPlexCreate() is a public "convenience" function. DMCreate_Plex is the
implementation constructor. It is called dynamically via DMSetType(), but
users do not call it directly.


>
>
> - tim
>
> --
> ==============================**==============================**====
> "You will keep in perfect peace him whose mind is
>   steadfast, because he trusts in you."               Isaiah 26:3
>
>              Tim Tautges            Argonne National Laboratory
>          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
>  phone (gvoice): (608) 354-1459      1500 Engineering Dr.
>             fax: (608) 263-4499      Madison, WI 53706
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130301/d70a28bb/attachment.html>


More information about the petsc-dev mailing list