[ET Trac] [Einstein Toolkit] #1565: change default of IOUtil::out_save_parameters to true
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Mar 26 11:01:26 CDT 2014
#1565: change default of IOUtil::out_save_parameters to true
--------------------------+-------------------------------------------------
Reporter: rhaas | Owner:
Type: enhancement | Status: review
Priority: optional | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by rhaas):
If we are willing to re-design the parfile syntax, we may want to consider
using libconfig http://www.hyperrealm.com/libconfig/ (example see here:
http://www.hyperrealm.com/libconfig/test.cfg.txt) which offers well
structured, nested configuration files with build in support for int,
double, string and list-of-type. It also keeps track of which line and
file each setting comes from and allows the in-memory structure
representing the settings to be modified.
If we want to retain the ability to do simply arithmetic in parfiles
(which I like) then we'd have to declare most of our types as "string" as
far as the library is concerned. This currently requires double quotes but
can likely be changed since the end-of-value is indicated by a semicolon
";" anyway.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1565#comment:16>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list