Hi

I'm trying to create a file with all the parameters I need for my program.
I'm using the ParameterHandler class for this. One parameter could be
defined as a map and for this I try to use  Patterns::Map

std::map<unsigned int,std::string> my_map;

however, when I try to parse the parameter as:

my_map = prm.get ("map string");

I receive an error about assigning a string to a map, I guess this makes
sense, but in the ParameterHandler.h file I couldn't find a suitable method
to do this. I just found .get, .get_integer, .get_double and .get_bool.

Maybe I'm trying to parse it in the wrong way? Or the method is missing, if
so I can try to give it a go to write it myself.


Regards

-- 
José Javier Muñoz Criollo
Research Associate
Cardiff University School of Engineering
Tel: (0)29 208 75759
E-mail: [email protected], [email protected]

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to