On 4/19/21 4:19 AM, Paras Kumar wrote:
std::unique_ptr nItersListPattern(new
dealii::Patterns::List(dealii::Patterns::Integer(1), 2, 8, "|"));
nIters =
dealii::Patterns::Tools::Convert::to_value(nMaxItersString,
nItersListPattern);
I suspect you need to write this last line as
dealii::P
Dear Wolfgang,
Thank you so much for the suggestion. Just to avoid confusion for future
readers, the to_value() function needs a unique_ptr, and hence the
aforementioned line needs to be replaced by the following lines:
std::unique_ptr nItersListPattern(new
dealii::Patterns::List(dealii::Patterns
Paras,
I am trying to read a list of integers from the parameter file using the
dealii::Patterns::List class.
However, I get a runtime error which can be reproduced using the attached MWE.
I also tried the approach described (for tensor) in
https://groups.google.com/g/dealii/c/TvtcOnxeVjw/m
Dear All,
I am trying to read a list of integers from the parameter file using the
dealii::Patterns::List class.
However, I get a runtime error which can be reproduced using the attached
MWE.
I also tried the approach described (for tensor) in
https://groups.google.com/g/dealii/c/TvtcOnxeVjw/m