Hi everyone,
I am working on a application of dealii, and here is the question:
I want to use ParameterHandler::set() function to overwrite the parameters read from .prm files or just set these parameters. Some types of parameters can be done in this way like double&, bool& cause dealii has already developed these method:
void | set (const std::string &entry_name, const std::string &new_value) |
|
void | set (const std::string &entry_name, const char *new_value) |
|
void | set (const std::string &entry_name, const long int &new_value) |
|
void | set (const std::string &entry_name, const double &new_value) |
|
void | set (const std::string &entry_name, const bool &new_value) |
But, for parameter type as patterns::list(), how can I set the value of it? Because there is no ParameterHandler::set() to set parameter which has a type of patterns::list().
If you guys know how to solve this question, please tell me, thank you very much.
Wei