[petsc-dev] Add, Find, Register, Compose Query

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 15 18:26:23 CST 2013


As in, PetscFunctionListRegister? I guess I read that as registering the
list with something (a destructor?) rather than adding an item to the list.

I don't care about Query vs. Find or even Get.


On Tue, Jan 15, 2013 at 6:22 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>    What about at least moving the Add to Register?   And why have both
> query and find?
>
>    Barry
>
> On Jan 15, 2013, at 5:17 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> > So we would have PetscObjectRegister(C,"Mat_Redundant",container)?
> Somehow I find Compose more intuitive for this meaning and don't see a
> tangible benefit to changing it.
> >
> >
> > On Mon, Jan 14, 2013 at 7:45 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> >
> > Note that currently XXXRegister and XXXCompose eventually calls YYYAdd
> at the lower level and XXXQuery calls YYYFind at the lower level.
> >
> > Why have all these words?
> >
> > I propose Register, Compose and Add ->  Register
> >
> > Find, Query -> Find
> >
> >   Problems?
> >
> >    Barry
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130115/68f5cb3b/attachment.html>


More information about the petsc-dev mailing list