Commit Graph
84 Commits
Author SHA1 Message Date
Jostein R. Natvig a2aaf9c590 Add
* routines to read string records, and interpret as welldate. (unfinished)
 * Routine to read chunks of data from file, with '--' as comment mark,
   '3*3.1415' for repeated values and '/' for termination of read.
2011-11-29 16:24:53 +01:00
Bård Skaflestad a401f72ca7 Add tag for cardinal directions for all faces per cell. 2011-11-30 13:36:31 +01:00
Bård Skaflestad dac3142d16 Import geometry calculation from the MATLAB Reservoir Simulation Toolbox.
Author: Jostein R. Natvig

Hook up to build.
2011-11-30 12:41:29 +01:00
Bård Skaflestad e80ecf1077 Add GRDECL -> UnstructuredGrid transformation. 2011-11-30 11:08:32 +01:00
Bård Skaflestad b6b455642e Rename newinterface -> cgridinterface 2011-11-30 10:16:23 +01:00
Halvor M. Nilsen 7d654de2f6 changed default instalation dir 2011-11-29 14:43:04 +01:00
Bård Skaflestad 5f0bacf6e4 Merge integer overflow fix from SVN edition. 2011-11-29 11:33:05 +01:00
Bård Skaflestad 35a8bf54bc Spell 'libcpgpreprocess' correctly. 2011-10-07 12:01:51 +02:00
Bård Skaflestad 939f231457 huild a convenience library for consumption by libdunecornerpoint.la .
This facilitates building consumers of libdunecornerpoint.la using CMake
(and Qt Creator).
2011-10-07 11:51:17 +02:00
Bård Skaflestad 32aaacdbaa Update ignore list.
Include additional, automatically generated Autotool files.
Specifically, condense all 'config.*' files down to a single, glob
pattern.  Also, ignore all of Libtool's M4 macros in the 'm4' directory.
2011-05-27 20:15:15 +02:00
Bård Skaflestad 3d78ab39a7 Enable silent build rules by default if available.
Automake's silent rules report commands as (e.g.,)

  CC facetopology.lo

which is a lot easier to read than the more verbose default output.
Enable this report mode, but only if we're being processed by an
Automake implementation that offers this particular capability.
2011-05-27 20:07:18 +02:00
Atgeirr Flø Rasmussen a8073dd254 Added ignores. 2010-10-13 12:42:12 +02:00
Atgeirr Flø Rasmussen 1198e74817 Added m4 dir. 2010-10-13 12:36:54 +02:00
Atgeirr Flø Rasmussen 3422a74d76 Modified autotools details. 2010-10-13 12:34:36 +02:00
convert-repo c8a8ee2094 update tags 2010-10-13 09:26:46 +00:00
Bård Skaflestad afd165c257 Use 'preprocess.c' as canonical source file. 2010-10-12 15:01:34 +02:00
Bård Skaflestad 5e45aa6a63 Add Autotools setup. 2010-10-12 14:51:10 +02:00
Bård Skaflestad ecc86b8c06 Change name of independent makefile to something which does not break
dune-<mumble> builds.
2010-08-30 09:10:25 +00:00
Jostein R. Natvig 1d991e26e5 Add alternative interface and makefile that builds library. 2010-08-30 08:37:37 +00:00
Jostein R. Natvig ad938d1bcb Whitespace. 2010-08-30 08:36:51 +00:00
Jostein R. Natvig a2e14eb19d Add emacs local variables. 2010-08-27 17:12:16 +00:00
Bård Skaflestad ee9a8fdc59 Implement G.type for OPM processing. 2010-03-18 16:31:10 +00:00
Bård Skaflestad b3f61acd81 Assert Copyright for 2010 in files missed in OPM -r762. 2010-03-18 15:57:02 +00:00
Jostein R. Natvig 89128edfac Add hack to reverse sign in ZCORN if ZCORN decrease along pillar.
The sign of z-coordinates in the processed grid is restored to ensure
right-handedness in relation between face geometry and face-cell topology.
2010-03-03 06:49:51 +00:00
Jostein R. Natvig d86ba9ab8d Add sanity chech of input. 2010-01-15 13:20:25 +00:00
Atgeirr Flø Rasmussen 97718768fd Changed to ensure a convex combination is taken when points
are between pillar extremes. Original code kept in #if 0 block.
2010-01-06 09:22:42 +00:00
Jostein R. Natvig f795a753ed Catch up with change in grid structure. 2010-01-05 15:43:59 +00:00
Jostein R. Natvig d5c900de11 *Change some fields from double to int.
*Add copyright.

Lacking functionality to split disconnected grid.
2009-12-16 13:49:14 +00:00
Bård Skaflestad 6b097bf779 Add 'cartDims' field to mex'ed processing. 2009-12-09 09:03:25 +00:00
Bård Skaflestad e19ff111d0 Expand SVN keywords. 2009-12-01 09:47:13 +00:00
Bård Skaflestad 2ae0fc1532 Re-implement mex building in terms of 'buildmex' function. 2009-12-01 09:46:31 +00:00
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