dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #13402
[HG DOLFIN] Pretty printing of parameter database.
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.
changeset: 6102:f5603666637e2311126a9b6a11e3002fc928e0d3
tag: tip
user: Anders Logg <logg@xxxxxxxxx>
date: Fri May 08 17:24:05 2009 +0200
files: dolfin/log/Logger.cpp dolfin/log/Table.cpp dolfin/log/Table.h dolfin/parameter/NewParameter.cpp dolfin/parameter/NewParameter.h dolfin/parameter/Parameters.cpp dolfin/parameter/Parameters.h sandbox/misc/cpp/main.cpp
description:
Pretty printing of parameter database.
parameters.print();
gives
my parameters | value type value range access count change count
--------------------------------------------------------------------------------
max iterations | int 500 [0, 1000] 1 1
relative tolerance | double 0.1 [1e-16, 1] 0 1
tolerance | double 1e-16 [] 1 0
changeset: 6101:f22b49031d081323d6c6ce18eccbb12c80240b22
user: Anders Logg <logg@xxxxxxxxx>
date: Fri May 08 14:11:28 2009 +0200
files: ChangeLog dolfin/parameter/NewParameter.cpp dolfin/parameter/NewParameter.h dolfin/parameter/Parameters.cpp dolfin/parameter/Parameters.h dolfin/parameter/dolfin_parameter.h sandbox/misc/cpp/main.cpp
description:
Add initial version of new parameter system. See test in sandbox/misc.
Implementation similar to before, but much simplified as a result of
removing the ParameterValue class and subclassing (New)Parameter directly.
Implementation consists of two classes: Parameters and (New)Parameter.
Only supports int and double so far. Range checks implemented.
Check if this looks ok. Will continue to add more features.
changeset: 6100:ee13793d2af040600cd3fb3a4a7107688684d4a2
user: Anders Logg <logg@xxxxxxxxx>
date: Fri May 08 13:32:02 2009 +0200
files: dolfin/log/Logger.cpp dolfin/log/Logger.h dolfin/log/log.cpp dolfin/log/log.h
description:
Add info_underline() for writing underlined messages
----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin