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

Updated datfile format and new Legolas header #116

Merged
merged 12 commits into from
Mar 2, 2023

Conversation

n-claes
Copy link
Owner

@n-claes n-claes commented Jan 4, 2023

PR description

The third PR in the Legolas 2.0 preparation series, based on #114 and #115 so they should go in first (in that order).
This updates the datfile format and writes a lot more information to the header following all the new features that have been added. The "old" header is now legacy and replaced by the new format, the entire Pylbo framework is still fully backwards compatible with older files.
The most important additions to the header are the block dimensions, physics type, solver settings and accounted physics, which will be needed for the upcoming subsystem support.

New features

Legolas

  • New info saved to the datfile: block dimensions, physics, solver settings, etc.

Pylbo

  • New header format

TODO

@n-claes n-claes added legolas-backend Under-the-hood changes to Legolas refactor Refactoring existing code pylbo-backend Under-the-hood changes to Pylbo labels Jan 4, 2023
@n-claes n-claes added this to the Legolas 2.0 milestone Jan 4, 2023
@n-claes n-claes force-pushed the refactor/datfile_update branch 2 times, most recently from d6c2d1a to f43f24b Compare January 5, 2023 11:52
@n-claes n-claes mentioned this pull request Jan 5, 2023
1 task
@codecov
Copy link

codecov bot commented Jan 5, 2023

Codecov Report

Merging #116 (81bc829) into develop (7cec0e7) will increase coverage by 12.09%.
The diff coverage is 96.77%.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #116       +/-   ##
============================================
+ Coverage    78.39%   90.49%   +12.09%     
============================================
  Files          132      146       +14     
  Lines         7022     8456     +1434     
============================================
+ Hits          5505     7652     +2147     
+ Misses        1517      804      -713     
Flag Coverage Δ
legolas 91.49% <91.96%> (+18.53%) ⬆️
pylbo 88.68% <98.17%> (+2.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@n-claes n-claes force-pushed the refactor/datfile_update branch 2 times, most recently from 5c95465 to ec2a791 Compare January 6, 2023 14:45
@n-claes n-claes added the do NOT merge Don't merge until label is removed label Jan 6, 2023
@n-claes n-claes force-pushed the refactor/datfile_update branch from ec2a791 to 81bc829 Compare March 2, 2023 11:28
@n-claes n-claes removed the do NOT merge Don't merge until label is removed label Mar 2, 2023
@n-claes n-claes merged commit 6aa11cf into develop Mar 2, 2023
@n-claes n-claes deleted the refactor/datfile_update branch March 2, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legolas-backend Under-the-hood changes to Legolas pylbo-backend Under-the-hood changes to Pylbo refactor Refactoring existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant