Skip to content

Commit

Permalink
Add Solver Version constant values.
Browse files Browse the repository at this point in the history
The Solver Version is used to control if the 'mmSolver' (v1) or
'mmSolver_v2' command is used.
  • Loading branch information
david-cattermole committed Dec 31, 2022
1 parent 4ed17d9 commit 0a8d602
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions python/mmSolver/_api/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,17 @@
]


# The solver command version to use.
SOLVER_VERSION_ONE = 1
SOLVER_VERSION_TWO = 2
# This solver version is by default, unless overridden.
SOLVER_VERSION_DEFAULT = SOLVER_VERSION_ONE
SOLVER_VERSION_LIST = [
SOLVER_VERSION_ONE,
SOLVER_VERSION_TWO,
]


# Attribute States
ATTR_STATE_INVALID = 0
ATTR_STATE_STATIC = 1
Expand Down

0 comments on commit 0a8d602

Please sign in to comment.