You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that something is odd when we saw that parameters have been modified that should have not, since they were not listed in the parameter file.
Our suggestion would be to not executed the action when calling ParameterHandler::add_parameter(), i.e., to introduce an additional parameter to ParameterHandler::add_action(), which allows to disable the execution of the action.
The text was updated successfully, but these errors were encountered:
As pointed out by @mschreter, the following program has an odd behavior:
The function
ParameterHandler::add_parameter()
overrides the old value with a new values plus minus a small rounding error.The problem is that the created action (which serializes the double to a string and than back o double)
dealii/include/deal.II/base/parameter_handler.h
Lines 2336 to 2340 in 9c96714
is executed during
ParameterHandler::add_parameter()
/ParameterHandler::add_action()
dealii/source/base/parameter_handler.cc
Lines 902 to 905 in 9c96714
We noticed that something is odd when we saw that parameters have been modified that should have not, since they were not listed in the parameter file.
Our suggestion would be to not executed the action when calling
ParameterHandler::add_parameter()
, i.e., to introduce an additional parameter toParameterHandler::add_action()
, which allows to disable the execution of the action.The text was updated successfully, but these errors were encountered: