← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Some changes for the NewParameters interface

 

Will it still be possible to use PETSc command-line options?

Garth

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:   6221:6480c05c75389a285f01bd8dfeacd223fc602389
tag:         tip
user:        "Johan Hake <hake@xxxxxxxxx>"
date:        Sun May 24 15:05:07 2009 +0200
files:       dolfin/parameter/NewParameters.cpp dolfin/parameter/NewParameters.h dolfin/swig/dolfin_parameter_post.i dolfin/swig/dolfin_parameter_pre.i sandbox/misc/cpp/main.cpp sandbox/misc/python/test_params.py
description:
Some changes for the NewParameters interface
  - added reading of nested parameters from command line
  - added an update function that updates an allready excisting Parameters with
    another Parameters. The other Parameters can be a subset of the one which is
    being updated.
  - simpler construction and update of Parameters from python, see sandbox example:
  - added an option_string function in the python interface that returns an option string
    representation of the stored Parameters. For example

        params.option_string() =>
           "--solver.foo 5 --solver.tol 1e-5 --bar 56"

    nice when commiting jobs on cluster and such.


changeset:   6220:aadc061faec081c7aa63cbfb374a2ce49780bdbf
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sun May 24 10:32:45 2009 +0100
files:       dolfin/la/EpetraKrylovSolver.cpp
description:
Add back test for ML support in Epetra.


changeset:   6219:18dc6394df0b52576a4ec2c46267a48ec9bf9861
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Sat May 23 21:28:37 2009 +0100
files:       dolfin/la/PETScKrylovSolver.cpp
description:
Small fix is PETSc preconditioner selection.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References