mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add first fully functioning M-callable C implementation of the
'ip_simple' mimetic inner product. Coincides with the results from
'computeMimeticIP' to (roughly) the order of round-off on a
non-trivial test case.
The calling interface is
BI = mex_ip_simple(G, rock)
and some latitude has been extended towards multiple data types in
the various G fields (e.g., G.cells.facePos may be an 'int32').
Additional clean-up and optimisation is likely.
This commit is contained in:
Reference in New Issue
Block a user