Jostein R. Natvig
0e73dd9315
Minor change.
2009-11-26 07:08:44 +00:00
Jostein R. Natvig
f4b0ab8c23
Ensure build mechanism changes back to current directory
...
also when build fails.
2009-11-26 07:06:36 +00:00
Jostein R. Natvig
98ff8ac4f1
Bugfix in mex file. Fixes bug that casued Matlab to crach on
...
second call to procesgrid.
2009-11-26 06:47:19 +00:00
Bård Skaflestad
6fee738652
Use pure C comments only (i.e., /* foo */). C++ type comments (//)
...
yield errors in GCC 4.4 and later. We may consider using C99 mode
though...
2009-11-20 15:36:32 +00:00
Jostein R. Natvig
8d81aa467b
Add field G.cells.facePos to grid struct.
2009-11-19 17:26:07 +00:00
Jostein R. Natvig
0a895e9432
Remove old Matlab files used for debugging. Use new mex gateway
...
function and MRST for testing.
2009-11-19 17:19:23 +00:00
Jostein R. Natvig
01fe4d35e0
Add extra error checks.
2009-11-19 17:16:53 +00:00
Jostein R. Natvig
6c4f2e525c
Matlab frontend, documentation and build instruction for
...
processgrid mex script.
This interface allows users of the Matlab Reservoir
Simulation Toolbox (MRST) to use the OPM corner point
grid processing in MRST. This represent a significant speedup
over the native Matlab grid processing already avaliable in
MRST.
2009-11-19 17:15:09 +00:00
Jostein R. Natvig
5f6544fe73
Use mexopts.sh to control which compiler to use when building Matlab
...
mex script processgrid.c.
2009-11-19 17:10:47 +00:00
Jostein R. Natvig
23665a99e4
Add nodePos to G.faces field.
2009-11-19 15:25:37 +00:00
Jostein R. Natvig
dd1df7ff3f
Removed illegal debug code.
2009-09-21 12:24:27 +00:00
Bård Skaflestad
d1175bc038
- Re-instate the fully unconditional "snap-to-last" behaviour in
...
uniquify(). Mention that "snap-to-last" is a no-op when
second-to-last point is more than <tolerance> apart from the last
point.
- Assert that the <tolerance> is a non-negative value.
- For benefit of Emacs indenting, adjust license block.
2009-08-14 16:42:03 +00:00
Bård Skaflestad
6c6b1aa0c8
Partially revert -r314. The existing tests were more robust in the
...
face of round-off error.
Preserve unconditional "snap to last" feature of function uniquify()
for the time being.
2009-08-14 12:50:21 +00:00
Bjørn Spjelkavik
756454f0fc
Made floating point tests equal to test in old code
2009-08-14 11:12:15 +00:00
Bård Skaflestad
987d59c92c
Tag faces (possible values: {LEFT,BACK,TOP}) during processing.
...
This is needed to support non-trivial boundaryId() return values.
2009-07-03 18:18:59 +00:00
Bård Skaflestad
8bae310891
Update build description for removal of matalloc.[ch] in -r131.
2009-06-25 13:16:05 +00:00
Jostein R. Natvig
3e0e7b0c90
Removing uneccessary files.
2009-06-25 11:44:10 +00:00
Jostein R. Natvig
89e23f883f
Fix orientation of faces on faults.
...
Fix problem with indexMap.
2009-06-25 11:41:32 +00:00
Jostein R. Natvig
5186b5795a
Remove last known bug.
2009-06-24 09:50:13 +00:00
Jostein R. Natvig
bc880431b4
Bugfix. Remove duplicate nodes for partially pinched faces.
2009-06-23 16:12:37 +00:00
Jostein R. Natvig
a548d16762
First fix of normal directions.
2009-06-23 10:48:44 +00:00
Bård Skaflestad
653666d3ea
Wrap a long line, and distribute additional '.h' files.
2009-06-21 16:56:50 +00:00
Atgeirr Flø Rasmussen
4440ec8426
Fixed problem with linking the preprocess library, it was due to not specifying extern C in the header.
2009-06-20 20:36:56 +00:00
Atgeirr Flø Rasmussen
36b1e712a3
Build system now builds preprocess.
2009-06-19 14:10:21 +00:00
Atgeirr Flø Rasmussen
e201446a6d
Removed unnecessary include.
2009-06-19 14:03:35 +00:00
Jostein R. Natvig
2e9881b746
Refactoring. Moving return struct around instead of a bunch of
...
auxillary variables.
2009-06-19 13:57:38 +00:00
Jostein R. Natvig
7cc7596fc8
Moved permutation of ACTNUM and ZCORN to process_grdecl. The input is
...
now unaltered on exit.
2009-06-19 11:31:16 +00:00
Jostein R. Natvig
12c6e7170c
2009-06-19 09:42:02 +00:00
Jostein R. Natvig
2024d80518
Some comments.
2009-06-19 09:17:44 +00:00
Jostein R. Natvig
9bdc8b5a7c
Add license header.
2009-06-19 07:54:00 +00:00
Jostein R. Natvig
52bb1d6cae
Adding test script for generating grdecl spec with some compelxity.
2009-06-18 16:13:49 +00:00
Jostein R. Natvig
bf34f4d1f7
2009-06-18 16:12:59 +00:00
Jostein R. Natvig
286deeaec8
Remove commented out debug code.
2009-06-18 16:12:42 +00:00
Jostein R. Natvig
eee76550ef
Slowly cleaning up the code.
2009-06-18 16:12:04 +00:00
Jostein R. Natvig
7c0a301382
Some functions have changed names. Allow passing tolerance from Matlab.
2009-06-18 16:11:25 +00:00
Jostein R. Natvig
40addf9f02
Introduce more argument checks.
2009-06-18 16:10:37 +00:00
Jostein R. Natvig
e704b2bce9
Allow passinf tolerance to point processing. Write all tolerance checks the same way.
2009-06-18 16:09:49 +00:00
Jostein R. Natvig
c6465ec385
No functional change.
2009-06-18 13:31:31 +00:00
Jostein R. Natvig
c532cfe7bc
Remove bug. faces connecting void space to void space are now skipped.
2009-06-18 13:30:35 +00:00
Jostein R. Natvig
616afb5838
Add check for integer input. No other check is performed.
2009-06-18 13:29:41 +00:00
Jostein R. Natvig
a4e75f7013
2009-06-18 13:28:54 +00:00
Jostein R. Natvig
c1129c1546
Add some checking + minimum tolerance DBL_EPSILON.
2009-06-18 13:28:24 +00:00
Jostein R. Natvig
45e3b4cede
First seemingly working version. Norner is processed. There are some
...
differences between C and Matlab versions of the processed grid, though.
2009-06-17 13:08:59 +00:00
Jostein R. Natvig
a4b48c494b
Fix minor problem with constant-k faces.
...
Compute node coordinates.
2009-06-15 11:05:05 +00:00
Jostein R. Natvig
a0c9d4c4ec
Forgot to check in these files.
...
Have added processing of horizontal faces (k constant) that includes
removal of completely pinched or inactive cells.
2009-06-15 07:30:16 +00:00
Jostein R. Natvig
ff9c542777
Moved code around.
...
Fixed bug in sparse_table_realloc.
Add processing of k-constant faces and local cell index.
The calculation of point coordinates still remains.
2009-06-12 15:42:32 +00:00
Jostein R. Natvig
ff37ae8160
Modifying grdecl and processed_grid. Introducing const here and there.
2009-06-12 13:10:31 +00:00
Jostein R. Natvig
201a31a9bc
Many changes. I cannot remember them all.
2009-06-12 12:40:38 +00:00
Atgeirr Flø Rasmussen
0b9709cf27
Also removed the int n member.
2009-06-12 09:04:07 +00:00
Atgeirr Flø Rasmussen
095a54a832
Now added CpGrid::readEclipseFormat() and stuff needed by it.
2009-06-12 09:01:36 +00:00