Skip to content

Add actual constraint numbers to mfile#3038

Merged
jonmaddock merged 1 commit intoukaea:mainfrom
jonmaddock:constraint-info-for-uq
Feb 5, 2024
Merged

Add actual constraint numbers to mfile#3038
jonmaddock merged 1 commit intoukaea:mainfrom
jonmaddock:constraint-info-for-uq

Conversation

@jonmaddock
Copy link
Copy Markdown
Contributor

Enables identification of constraints: rather than having normres001, normres002, ..., constr007, constr008, use the actual constraint numbers, e.g. eq_constr001, eq_constr007, ..., ineq_constr010, ineq_constr009. This allows the constraint to be identified from the MFILE.DAT alone, instead of needing to cross-check with the IN.DAT to find that constr007 is actually constraint number 10. This also preserves the order in which the constraints are defined in the IN.DAT.

Enables identification of constraints.
@jonmaddock jonmaddock requested a review from ajpearcey January 30, 2024 11:10
@jonmaddock jonmaddock self-assigned this Jan 30, 2024
Copy link
Copy Markdown
Collaborator

@ajpearcey ajpearcey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy for this to be merged.

@jonmaddock jonmaddock merged commit 6473239 into ukaea:main Feb 5, 2024
@jonmaddock jonmaddock deleted the constraint-info-for-uq branch February 5, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants