Skip to content

Fix to allow the specification of different number of iterations for different variable

Issue/feature addressed

In the NekLinSysIter.cpp class and subclasses, if GlobalSysSolnInfo is use to specify different parameters for different variable, only the parameters corresponding to the first variables blocks are used to initialize the object in the constructor.

Proposed solution

Pass as an argument parameter a string containing the variable name in the constructors of NekLinSysIter.cpp class and subclasses.



The following test has been updated to test the possibility to use different maximum iteration number for different variables solvers/IncNavierStokesSolver/Tests/KovaFlow_m10_taylorHood_VCSImplicitLoc.xml

Suggested reviewers

Please suggest any people who would be appropriate to review your code.


Please add any other information that could be useful for reviewers.


  • Functions and classes, or changes to them, are documented.
  • [ ] User guide/documentation is updated.
  • Changelog is updated.
  • Suitable tests added for new functionality.
  • Contributed code is correctly formatted. (See the contributing guidelines).
  • [ ] License added to any new files.
  • No extraneous files have been added (e.g. compiler output or test data files).
Edited by Jacques Xing

Merge request reports