[deal.II] Re: bool ParameterHandler::read_input (const std::string &, const bool, const bool, const std::string &) DEAL_II_DEPRECATED

2017-02-03 Thread Denis Davydov
I am glad that it worked out. 

Please mark some answer as "correct/bast" so that this topic
is marked as "Answered" in the google group list.

Cheers,
Denis.

On Tuesday, January 31, 2017 at 7:27:17 PM UTC+1, Vinayak Gholap wrote:
>
> Hello,
>
> Yes it worked. 
> @Jean-Paul: Yes I use the developer version. I came through this 
> deprecation concept for first time so didn't knew what to do. Thanks.
>
> @David: Thanks.
>
> 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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: bool ParameterHandler::read_input (const std::string &, const bool, const bool, const std::string &) DEAL_II_DEPRECATED

2017-01-31 Thread Vinayak Gholap
Hello,

Yes it worked. 
@Jean-Paul: Yes I use the developer version. I came through this 
deprecation concept for first time so didn't knew what to do. Thanks.

@David: Thanks.

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


[deal.II] Re: bool ParameterHandler::read_input (const std::string &, const bool, const bool, const std::string &) DEAL_II_DEPRECATED

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


[deal.II] Re: bool ParameterHandler::read_input (const std::string &, const bool, const bool, const std::string &) DEAL_II_DEPRECATED

2017-01-29 Thread Jean-Paul Pelteret
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 

 .

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