dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #09401
PyDOLFIN and parameter system
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)
leads to the error,
return _dolfin.Parametrized_dolfin_set(*args)
TypeError: in method 'Parametrized_dolfin_set', argument 3 of type
'std::string'
Garth
Follow ups