-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add Support for Edge Conformal Corner-Point Grid Processing #814
base: master
Are you sure you want to change the base?
Conversation
jenkins build this please |
a90f24c
to
52e13da
Compare
b2c5191
to
f61a79f
Compare
93b9d97
to
06a92df
Compare
3e04a44
to
3b9e712
Compare
ba9a00c
to
6e48eb1
Compare
jenkins build this opm-simulators=5806 please |
Just to be very clear: The new |
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
6e48eb1
to
0cd0cd2
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
0cd0cd2
to
4fc5edd
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
4fc5edd
to
191c5f4
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
191c5f4
to
bc2d659
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
bc2d659
to
a7fe08b
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
a7fe08b
to
2e4e079
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
2e4e079
to
c828f5f
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
c828f5f
to
e556242
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
e556242
to
9065bdf
Compare
jenkins build this opm-simulators=5806 opm-upscaling=397 please |
Initially supported fully only for the 'UnstructuredGrid' (create_grid_cornerpoint() constructor, PolyhedralGrid wrapper), this commit introduces amended logic that aims to create edge conformal cell complexes. Specifically, the faces of the 'processed_grid' structure from 'process_grdecl()' contains *all* vertices along the pillars, not just the top and bottom vertices of the traditional corner-point description. Moreover, the create_grid_cornerpoint() will insert additional vertices in the top and bottom *faces* when the edge conformal mode is activated. This aspect is not yet available in the CpGrid wrapper, though the vertices along the pillars will be included in that case too. Client code may activate this mode by setting the 'edge_conformal' flag to 'true'. The flag is a bool (i.e., _Bool) in both the C and the C++ code, but transmitted as an 'int' across the language boundary. At this time, the mode is intended to support geo-mechanical workflows and should typically not be enabled in production runs of regular reservoir simulations. While here, split some long lines and mark objects 'const' where possible.
9065bdf
to
45d24f8
Compare
Initially supported fully only for the
UnstructuredGrid
(create_grid_cornerpoint()
constructor,PolyhedralGrid
wrapper), this PR introduces amended logic that aims to create edge conformal cell complexes. Specifically, the faces of theprocessed_grid
structure fromprocess_grdecl()
contains all vertices along the pillars, not just the top and bottom vertices of the traditional corner-point description. Moreover, thecreate_grid_cornerpoint()
function will insert additional vertices in the top and bottom faces when the edge conformal mode is activated. This aspect is not yet available in theCpGrid
implementation, though the vertices along the pillars will be included in that case too.Client code may activate this mode by setting the
edge_conformal
flag totrue
. The flag is abool
(i.e.,_Bool
) in both the C and the C++ code, but transmitted as anint
across the language boundary.At this time, the mode is intended to support geo-mechanical workflows and should typically not be enabled in production runs of regular reservoir simulations. Furthermore, this is not tested or supported in parallel runs.
While here, split some long lines and mark objects
const
where possible.Work by @hnil.