Specfile Constants don't accept strings
When running a toolkit with a specfile containing constants, ie.
... solver Limiting-ADER-DG MHDSolver variables const = rho:1,vel:3,E:1,B:3,constrDaming:1 order const = 3 maximum-mesh-size = 0.9 time-stepping = global kernel const = generic::fluxes::nonlinear language const = C limiter-kernel const = generic::Godunov limiter-language const = C dmp-relaxation-parameter = 0.0001 dmp-difference-scaling = 0.001 constants = foo:bar ...
where I want the variable
foo to set the String value
bar, the parser complaints:
ERROR: eu.exahype.parser.ParserException: [70,42] expecting: float number
It also doesn't accept a string (
ERROR: eu.exahype.lexer.LexerException: [70,42] Unknown token: "
In our applications, the majority of parameters are strings, next to boolean values.
I rank this ticket Minor as constants have never worked for me (always issues with the parser #44) and I stick to environment variables and command line arguments.