Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add actual constraint numbers to mfile #3038

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

jonmaddock
Copy link
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
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
10 checks passed
@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