On Wed, Aug 27, 2008 at 10:03:33AM +0200, Martin Sandve Alnæs wrote:
> 2008/8/27 Garth N. Wells <[EMAIL PROTECTED]>:
> > How do I set a parameter for an object in PyDOLFIN? I'd like to set
> > Newton solver parameters in demo/nls/nonlinearpoisson/python/demo.py.
> > The code
> >
> > nonlinear_solver = NewtonSolver()
> > nonlinear_solver.dolfin_set("Newton maximum iterations", 50)
>
> foo.dolfin_set is a rather strange name for this, what about
> setParameter or setParam or something?It should be just get() and set(). It is in C++. -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
