Closed donnaaboise closed 6 years ago
Original comment by Donna Calhoun (Bitbucket: donnaaboise, GitHub: donnaaboise):
Cool. Yes, I see where "fclaw_options.ini" can be passed in. But if I understand, I should continue to use my fclaw_options_read_from_file
until you have the configfile loading included.
Original comment by Carsten Burstedde (Bitbucket: cburstedde, GitHub: cburstedde):
The options
branch provides an interface to name configuration files to be loaded. What's still missing is to add a search through the possible paths for each file and to load it from there. All of this can be done behind the scenes in libsc and fclaw_base, which I'll be working on.
Original comment by Carsten Burstedde (Bitbucket: cburstedde, GitHub: cburstedde):
I think this looks fine. I'm just wondering if we could move a couple functions into the .c file and make them static to clean up the interface. To the outside user it would for example be unclear whether they need to call postprocess and convert_int_array.
What we decide in issue #66 will factor in here, in the matter of sensible default values.
Original comment by Donna Calhoun (Bitbucket: donnaaboise, GitHub: donnaaboise):
This has been modified a few more times - see fclaw_options.c
, in branch fix_options
.
Outdated issue?
Originally reported by: Donna Calhoun (Bitbucket: donnaaboise, GitHub: donnaaboise)
I modified the options parsing routine (for the command line) to return a value. Does this look okay?
In new file
fclaw2d_options.c
(wasamr_options_parse
inamr_options.c
) :