Dear Vinayak,

Jean-Paul is right: we got rid of this function in the fall in favor of 
parse_input so that we can mark errors by raising exceptions (instead of 
returning a boolean, which is what read_input does).

Thanks,
David Wells


On Sunday, January 29, 2017 at 1:14:58 PM UTC-5, Jean-Paul Pelteret wrote:
>
> Dear Vinayak,
>
> You must be using the developer version, right? This function has been 
> deprecated and, I believe, is superseded by the function 
> ParameterHandler::parse_input 
> <https://www.dealii.org/developer/doxygen/deal.II/classParameterHandler.html#a4f067f0a84ac392fe26d553aea50541b>
>  .
>
> I hope that this helps.
>
> Regards,
> Jean-Paul
>
> On Sunday, January 29, 2017 at 6:33:17 PM UTC+1, Vinayak Gholap wrote:
>>
>> Hello,
>>
>> I have to use this bool ParameterHandler::read_input() function but since 
>> it is marked Deprecated I get compiler warning
>>
>> " warning: ‘virtual bool dealii::ParameterHandler::read_input(const 
>> string&, bool, bool, const string&)’ is deprecated 
>> [-Wdeprecated-declarations]
>>   prm.read_input (input_file); ". 
>>
>> How do I use it without warnings? Or should I use some other equivalent 
>> function from the ParameterHandler Class?
>>
>> Regards,
>> Vinayak
>>
>

-- 
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