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 
<http://dealii.org/developer/doxygen/deal.II/classParameterHandler.html#aa6418ea655b1b550b9dcf63513030196>
 
(const std::string &entry_name, const std::string &new_value) 
  
void  set 
<http://dealii.org/developer/doxygen/deal.II/classParameterHandler.html#af288e1fe38ac1a1baf1cef3058b63ce1>
 
(const std::string &entry_name, const char *new_value) 
  
void  set 
<http://dealii.org/developer/doxygen/deal.II/classParameterHandler.html#aabb43df4f2325707a82201071793e4fa>
 
(const std::string &entry_name, const long int &new_value) 
  
void  set 
<http://dealii.org/developer/doxygen/deal.II/classParameterHandler.html#a03d8a002b574cb451240ecf723ab0fa8>
 
(const std::string &entry_name, const double &new_value) 
  
void  set 
<http://dealii.org/developer/doxygen/deal.II/classParameterHandler.html#adcee5b1f5f7c6745e8c7b66dcf34104d>
 
(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

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to