← Back to team overview

dolfin team mailing list archive

Re: Python + NewParameter

 

On Saturday 04 July 2009 00:52:13 Garth N. Wells wrote:
> Johan Hake wrote:
> > On Saturday 04 July 2009 00:14:04 Garth N. Wells wrote:
> >> How should the new parameter system be used from the Python interface?
> >
> > Looks like you found out of it?
>
> Yes, with some trial and error and a search on "__setitem__".

Yes I used __setitem__ for all assignments. 

A test is also provided in 

  sandbox/misc

Should update it to a fullfledged unit test before the release. I see that I 
need to update the PyDOLFIN interface for nested parameter set.

Johan


Follow ups

References