Skip to content

Teuchos: Modified parameter lists - Issue 4793 - modified parameter lists

Created by: danielsjensen1

@trilinos/teuchos

Description

Parameter lists can now have an optional "modifier" attached to them similar to the "validators" that can be attached to parameters. The modifiers add support for optional sublists/parameters, better validation of interdependent parameters, and common expansions used in creating parameter lists.

Motivation and Context

The motivation and context for this merge request is located in Issue https://github.com/trilinos/Trilinos/issues/4793.

How Has This Been Tested?

ParameterList_UnitTests.cpp has 6 new tests for the new reconciliation and modification code. ParameterListModifier_UnitTests.cpp has 6 new tests for common methods used in modification and reconciliation.

Checklist

  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the code contribution guidelines for this project.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • No new compiler warnings were introduced.
  • These changes break backwards compatibility.

Merge request reports