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

Wrong calculation of INDEX_IJK #12023

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Wrong calculation of INDEX_IJK #12023

merged 2 commits into from
Jan 6, 2025

Conversation

magnesj
Copy link
Member

@magnesj magnesj commented Jan 3, 2025

Closes #12021

@magnesj magnesj force-pushed the 12021-wrong-index-ijk branch from 7db1319 to 67928fa Compare January 3, 2025 11:22
INDEX_I INDEX_J INDEX_K are result properties computed by ResInsight. When using opm-common, only active cells are defined. In this situation, the computation fails.

Change the implementation to compute these values only for active cells. This will also improve performance and use less memory.
@magnesj magnesj force-pushed the 12021-wrong-index-ijk branch from 67928fa to 334d66c Compare January 3, 2025 11:42
@magnesj magnesj requested a review from jonjenssen January 3, 2025 14:49
@magnesj magnesj force-pushed the 12021-wrong-index-ijk branch from 1085282 to 27e0ab0 Compare January 6, 2025 06:19
@magnesj magnesj force-pushed the 12021-wrong-index-ijk branch from 27e0ab0 to 2873b23 Compare January 6, 2025 06:22
@magnesj magnesj merged commit 8a55b4c into dev Jan 6, 2025
15 checks passed
@magnesj magnesj deleted the 12021-wrong-index-ijk branch January 6, 2025 06:23
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.

Wrong calculation of INDEX_IJK
2 participants