Hi Roman,
I try to understand the ParameterHandler class for reading and parsing
input files.
Therefore, I wonder whether it is supported to parse dynamic entries, e.g.
in my input file, there is [material data #1] .. [material data #n], but I
don't know n in advance...
The ParameterHandler class stores parameters/values in a tree structure and
before you can set a value for a parameter, you have to declare the
parameter entry first. I think, you can do this with a simple loop in your
case. But nevertheless, you have to determine the value n before parsing the
input file to the parameter class. But it should be no problem to write two
lines of code which parses the input file and count [material data #i].
Maybe this helps,
Best,
Martin
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii