Hello Dumux,

I was wondering whether it is possible to read arrays from the input file using 
the GET_RUNTIME_PARAM macro. Or is it possible to read values in a loop? I mean 
something like:

For (int i=0; i<numOfStuff; i++)
                Value[i]=GET_RUNTIME_PARAM(TypeTag, Scalar, Problem.ValueI);

Here I want to pass Problem.ValueI to the macro so it reads the desired value. 
How can it be done?

Best regards

Georg Futter

--------------------------
German Aerospace Center (DLR)
Institute of Engineering Thermodynamics | Computational Electrochemistry | 
Pfaffenwaldring 38-40 | 70569 Stuttgart

Dipl.-Ing. Georg Futter | Ph.D. student
Telefon 0711/6862-8135 | [email protected]<mailto:[email protected]>
www.DLR.de<http://www.dlr.de/>


_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to