Commit Graph

107 Commits

Author SHA1 Message Date
Bård Skaflestad
697390d3a6 Staticise the 'read_grid()' function to avoid warning about missing prototype. 2011-12-02 23:27:52 +01:00
Bård Skaflestad
e2ac7a4108 Ignore 'scaneclipsedeck' executable. 2011-12-02 19:57:19 +01:00
Bård Skaflestad
27895976cc Catch up to read_vector_from_file accepting a std::string
See cset ee6246088300 for additional details.

While here, split grid-reading out to separate function accepting a
directory name.
2011-12-02 19:09:56 +01:00
Bård Skaflestad
17228b7078 Use a std::string rather than a char pointer to convey the file name. 2011-12-02 19:07:35 +01:00
Bård Skaflestad
e6638e3892 Merge from upstream. 2011-12-02 15:18:30 +01:00
Bård Skaflestad
e1e4d673d0 Expose 'readvector.hpp' as part of "make install". 2011-12-02 15:17:18 +01:00
Bård Skaflestad
7cf3c62688 Declare explicit overloads for ints and doubles.
Implement in terms of existing function template.
2011-12-02 15:16:35 +01:00
Jostein R. Natvig
0a96ddfcd4 Merge. 2011-12-02 13:57:32 +01:00
Jostein R. Natvig
a6bc2c70d1 Hook scaneclipsedeck up to build system. 2011-12-02 13:56:37 +01:00
Jostein R. Natvig
81d2ac3d8f Add simple code to scan an eclipse deck and write keywords to screen. 2011-12-02 13:56:03 +01:00
Bård Skaflestad
fe2db10049 Distribute "grid.h" lest "make distcheck" fail. 2011-12-02 10:57:14 +01:00
Bård Skaflestad
6c81de8cb7 Merge from upstream. 2011-12-02 10:38:43 +01:00
Bård Skaflestad
2ba4ee9afc Return useful status code from fill_cell_topology(). 2011-12-02 10:38:07 +01:00
Bård Skaflestad
dcfd312a37 Turn into autonomous module by referencing local copy of grid.h 2011-12-02 10:36:29 +01:00
Bård Skaflestad
982e339861 Ignore demonstration executable. 2011-11-30 23:49:58 +01:00
Bård Skaflestad
96d9637fc9 The 'enum face_tag' cannot (portably) hold the result of arithmetic.
Make it an 'int'.

Blame: Bard.Skaflestad@sintef.no
2011-11-30 23:48:16 +01:00
Bård Skaflestad
59c8f662a8 Hook demonstration up to build as separate (non-installable) executable.
Circumvent build issue by importing OPMPressure's "grid.h" wholesale.
2011-11-30 14:20:09 +01:00
Bård Skaflestad
3aecf50817 Add example to demonstrate basic workflow for corner-point grids. 2011-11-30 14:01:38 +01:00
Bård Skaflestad
56013a3463 Hook 'readvector' support up to build. 2011-11-30 13:57:54 +01:00
Bård Skaflestad
de2b4df2b2 Add header for 'read_vector_from_file'. 2011-11-30 13:56:21 +01:00
Bård Skaflestad
e6bbd8487b Promote 'readvector.cpp' to top-level feature. 2011-11-30 13:55:02 +01:00
Bård Skaflestad
5d17b10678 Remove unfinished feature that was imported in error. 2011-11-30 13:54:35 +01:00
Bård Skaflestad
070da67034 Slight cleanup.
Remove a build error (too many initialisers for struct ParserState).
Explicit instantiation of read_vector_from_file() for 'int's and
'double's .  Suppress various warnings.
2011-11-30 13:44:27 +01:00
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