We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to export a refined sector grid but found that the exported grid had the wrong number of cells. I think this is due to a few lines in ...
ApplicationLibCode/FileInterface/RifEclipseInputFileTools.cpp
...in the function ...
bool RifEclipseInputFileTools::exportGrid()
...the code currently looks like ...
int ecl_nx = static_cast<int>( ( max.x() - min.x() ) * refinement.x() + 1 ); int ecl_ny = static_cast<int>( ( max.y() - min.y() ) * refinement.y() + 1 ); int ecl_nz = static_cast<int>( ( max.z() - min.z() ) * refinement.z() + 1 );
I believe the lines above should be changed to...
int ecl_nx = static_cast<int>( ( max.x() - min.x() + 1 ) * refinement.x() ); int ecl_ny = static_cast<int>( ( max.y() - min.y() + 1 ) * refinement.y() ); int ecl_nz = static_cast<int>( ( max.z() - min.z() + 1 ) * refinement.z() );
(This is only a problem for refinement > 1)
The text was updated successfully, but these errors were encountered:
#10503 Refined grid export appears to give wrong number of cells
744719e
Make sure size of exported grid is correct Refactor computation of cell indices
Thanks for the bug report. This will be fixed and included in the next release.
Sorry, something went wrong.
Refined grid export appears to give wrong number of cells
3030e9f
* #10503 Refined grid export appears to give wrong number of cells Make sure size of exported grid is correct Refactor computation of cell indices
Thank you :-)
magnesj
Successfully merging a pull request may close this issue.
I tried to export a refined sector grid but found that the exported grid had the wrong number of cells. I think this is due to a few lines in ...
ApplicationLibCode/FileInterface/RifEclipseInputFileTools.cpp
...in the function ...
bool RifEclipseInputFileTools::exportGrid()
...the code currently looks like ...
I believe the lines above should be changed to...
(This is only a problem for refinement > 1)
The text was updated successfully, but these errors were encountered: