Skip to content

Fixed order in iteration variables and constraint equations in MFILE #536

@jonmaddock

Description

@jonmaddock

In GitLab by @Hlux on Jul 17, 2017, 14:38

At the moment, mfile_comparison.py that is used to e.g. compare files in the test_suite, compares itvar, nitvar and xcm, which are the value of the iteration variables/normalised iteration variables and constraint equations, numbered by the order given in IN.DAT. However, in_dat.py has a fixed output order for the iteration variables and that might differ from generally created user orders. Hence, different IN.DAT files with a different ordering will lead to discrepancies in the mfile_comparison tool, even if both give the same physical results. To avoid this, PROCESS should always output iteration variables and constraint equations in the same order they appear in the vardes file.

Additionally it would be helpful to add a check to mfile_comparison whether the first(/all) iteration variables/constraint equations have the same label.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions