Commit Graph

6128 Commits

Author SHA1 Message Date
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
Jostein R. Natvig
f02fbe0b9d Refactoring code, adding correct handling of faces on boundary.
Packing unstructured data in csr-like strucuture.
2009-06-11 23:35:19 +00:00
Jostein R. Natvig
82ff742b37 Moved processing of face topology to separate file. 2009-06-11 07:56:45 +00:00
Jostein R. Natvig
e04eb2f728 Initial checkin of cornerpoint processing code.
Current status
--------------
Given vectors ZCORN, COORD and ACTNUM as well as the Cartesian
dimensions these vectors implicitly refer to, the code is
currently capable of

 * Identify unique points along each pillar
 * Assign point numbers for each point specified in ZCORN
 * Compute face topology, i.e., the corners that define the geometry
   of the faces as well as the cells that are connected through the face.
 * Identify and compute intesections that occur in the processing of
   face topology.

What remains is

 * Handle the face geometry of boundary faces. (simple)
 * Compute point coordinates of the final point list.
 * Put all pieces together in a tidy manner.
2009-06-11 07:33:50 +00:00