Values for parameters specified on command-line which override values in the session file are not applied to expressions.
The attached session file is for the nektar-diffusion proxy-app (https://github.com/ExCALIBUR-NEPTUNE/nektar-diffusion). It was noted that when overriding the theta
parameter on the command-line with a new value (i.e. specifying -P theta=1.0
, the value would be used by the solver, but not when evaluating the exact condition. The error was therefore higher than it should be. Setting the value of theta
to 1.0
in the session file did not result in an abnormally high error.
It is likely that expressions are not taking into account command-line arguments when they are evaluated.
Note: this is being marked as major, since it may lead to silent errors.