On Wed, Oct 28, 2009 at 06:02:13PM +0100, DOLFIN wrote: > One or more new changesets pushed to the primary dolfin repository. > A short summary of the last three changesets is included below. > > changeset: 7404:67ec8f39e4cd > tag: tip > user: Anders Logg <l...@simula.no> > date: Wed Oct 28 18:00:27 2009 +0100 > files: ChangeLog dolfin/la/KrylovSolver.cpp > dolfin/parameter/GlobalParameters.cpp dolfin/parameter/GlobalParameters.h > description: > Allow setting global parameters for Krylov solver
This allows things like this: parameters["krylov_solver"]["relative_tolerance"] = 1e-10 This sets the default value for all Krylov solver created after this. We should make the same thing for other parametrized objects whenever it is appropriate. It requires two minor changes: 1. Adding the parameter set as a nested set in GlobalParameters.cpp: this->add(KrylovSolver::default_parameters()); 2. Initializing with the nested set in KrylovSolver.cpp: parameters = dolfin::parameters("krylov_solver"); -- Anders > > changeset: 7403:7d12112359c5 > user: Anders Logg <l...@simula.no> > date: Wed Oct 28 17:29:34 2009 +0100 > files: site-packages/dolfin/constant.py > description: > Bug fix in new Constant class, should fix problem buildbot detected. > > > changeset: 7402:05610eef6540 > user: Anders Logg <l...@simula.no> > date: Wed Oct 28 16:43:02 2009 +0100 > files: ChangeLog site-packages/dolfin/constant.py > description: > Fix handling of Constants in Python interface to avoid repeated JIT > compilation. > > ---------------------------------------------------------------------- > For more details, visit http://www.fenics.org/hg/dolfin > _______________________________________________ > DOLFIN-dev mailing list > DOLFIN-dev@fenics.org > http://www.fenics.org/mailman/listinfo/dolfin-dev
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@fenics.org http://www.fenics.org/mailman/listinfo/dolfin-dev