dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #15137
[HG DOLFIN] Automatically read parameters from the following files in increasing
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 6951:b552e55f706da220bc3b205976f08e34f1c9a547
tag: tip
user: Anders Logg <logg@xxxxxxxxx>
date: Sun Sep 06 11:57:03 2009 +0200
files: demo/parameters/cpp/main.cpp dolfin/fem/VariationalProblem.cpp dolfin/parameter/GlobalParameters.cpp dolfin/parameter/Parameters.cpp
description:
Automatically read parameters from the following files in increasing
order of priority:
$HOME/.dolfin/parameters.xml.gz
$HOME/.dolfin/parameters.xml
parameters.xml.gz
parameters.xml
The global parameter set will be *updated* with values found in
these parameter sets.
Not sure how the first two files work on a Windows system.
changeset: 6950:e685bced17258c83ec9c55badc4ce3adf991c1d8
user: Anders Logg <logg@xxxxxxxxx>
date: Sat Sep 05 23:40:39 2009 +0200
files: ChangeLog demo/parameters/cpp/main.cpp dolfin/main/SubSystemsManager.cpp dolfin/main/SubSystemsManager.h dolfin/parameter/GlobalParameters.cpp dolfin/parameter/GlobalParameters.h dolfin/parameter/Parameters.cpp dolfin/parameter/Parameters.h
description:
Filter out PETSc argument when parsing command-line parameters.
The following should now work:
./demo <other options> --petsc.foo bar <other options>
provided the program in question parses command-line arguments by
parameters.parse(argc, argv).
All arguments starting with "--petsc." will be sent to PETSc. In the
above example,
-foo bar
will be sent to PETSc. (Note '-' instead of '--'.)
Other arguments will be parsed by the parameter set in question.
This only happens for the global DOLFIN parameter set (or any other
parameter set named "dolfin").
changeset: 6949:e34f22563ad2f44e18211f278c4830777342651c
user: Anders Logg <logg@xxxxxxxxx>
date: Sat Sep 05 15:26:54 2009 +0200
files: demo/parameters/cpp/SConstruct demo/parameters/cpp/main.cpp dolfin/mesh/Mesh.cpp dolfin/parameter/Parameters.cpp sandbox/misc/cpp/main.cpp
description:
Add C++ demo of parameter system, will add Python version later.
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin
Follow ups