← Back to team overview

dolfin team mailing list archive

Re: () and [] access in Parameters

 

On Sun, Sep 06, 2009 at 07:05:47PM +0200, Johan Hake wrote:
> On Sunday 06 September 2009 18:32:18 Garth N. Wells wrote:
> > Anders Logg wrote:
> > > Should we swap the meaning of () and [] for parameters in C++?
> > >
> > > Access is most commonly made to parameters, not nested parameter sets,
> > > so swapping the two would make the Python and C++ interfaces more
> > > similar.
>
> I agree. I was never satisfied with the present c++ solution. This is better.
>
> Johan

ok. I'll fix it, probably tomorrow.

--
Anders


> > The more similar the interfaces are the better.
>
> > Garth
> >
> > >
> > >
> > > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > DOLFIN-dev mailing list
> > > DOLFIN-dev@xxxxxxxxxx
> > > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


References