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

OutputBlackoilModule: add a container for the FIP data #5939

Merged
merged 15 commits into from
Feb 3, 2025

Conversation

akva2
Copy link
Member

@akva2 akva2 commented Jan 31, 2025

Try to clean up this code a little. Still some mysteries I haven't gotten my head around.

this is a container for the FIP map and associated code
in OutputBlackoilModule.

start by adding allocation functionality. for now the container
only owns a reference to the map
@akva2
Copy link
Member Author

akva2 commented Jan 31, 2025

jenkins build this please

@akva2 akva2 force-pushed the output_refactor_fip branch from 421258e to 01a5641 Compare February 3, 2025 10:33
@akva2 akva2 marked this pull request as ready for review February 3, 2025 10:34
@akva2
Copy link
Member Author

akva2 commented Feb 3, 2025

Okay, this is now ready for review. The code is still somewhat finicky and confusing, but I think this puts us in a better place to do cleanup.

@akva2
Copy link
Member Author

akva2 commented Feb 3, 2025

jenkins build this please

Copy link
Member

@bska bska left a comment

Choose a reason for hiding this comment

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

Greatly appreciated. Packaging those ! empty() calls into a nicer interface is a very welcome change. I do foresee some potential future improvements in this area. We almost always use these values aggregated to at least the region level, and often the field level, so we might not always need to allocate full per-cell storage. As I said, though, that's potential follow-up work so for now I'll merge this into the master branch.

@bska bska merged commit cd5a036 into OPM:master Feb 3, 2025
1 check passed
@akva2 akva2 deleted the output_refactor_fip branch February 3, 2025 11:09
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