Commit Graph

1416 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
c8c50bbafb Documented grid.h (UnstructuredGrid struct and destroy_grid() function). 2012-04-11 14:03:57 +02:00
Atgeirr Flø Rasmussen
6cfe32b9e1 Removed unnecessary call to compute_geometry(). 2012-04-11 12:45:24 +02:00
Atgeirr Flø Rasmussen
04ab5c83ce Renamed all grid construction functions to create_grid_<something>(). 2012-04-11 12:35:19 +02:00
Atgeirr Flø Rasmussen
36097f1656 Renamed free_grid() -> destroy_grid(). 2012-04-11 11:40:51 +02:00
Atgeirr Flø Rasmussen
702aaec8ab Removed unneeded #include statement. 2012-04-11 11:36:23 +02:00
Atgeirr Flø Rasmussen
b66ee75058 Moved free_grid() to grid.h and (new file) grid.c. 2012-04-11 11:32:52 +02:00
Atgeirr Flø Rasmussen
866cb0b6ab Updated #include statements to match moved and renamed headers. 2012-04-11 11:27:45 +02:00
Atgeirr Flø Rasmussen
c52e7c9ece Updated Makefile.am to account for moved and renamed files. 2012-04-11 11:20:31 +02:00
Atgeirr Flø Rasmussen
62c365e718 Moved and renamed cornerpoint grid functions. 2012-04-11 11:10:00 +02:00
Atgeirr Flø Rasmussen
7454bd7a29 Moving grid-related files to opm/core/grid/ 2012-04-11 11:07:18 +02:00
Atgeirr Flø Rasmussen
f23c3144e6 Moved internal functions into anonymous namespace. 2012-04-11 10:56:08 +02:00
Atgeirr Flø Rasmussen
c2818654c3 Improved formatting. 2012-04-11 10:52:45 +02:00
Atgeirr Flø Rasmussen
5a62896a04 Improve formatting. 2012-04-11 10:49:45 +02:00
Atgeirr Flø Rasmussen
6e5ff1b70e Removed unneeded check for WELSPECS and shadowing of existing object. 2012-04-11 10:47:30 +02:00
Bård Skaflestad
b156a5e41b Don't build the 'wells_example' unless UMFPACK is available.
While here, clean up the link-time dependency information.  This
information is inferred from the libopmcore.la Libtool library.
2012-04-11 09:06:07 +02:00
Bård Skaflestad
ad36e05f8c Don't add per-target LDADD that are already implied by global LDADD. 2012-04-10 19:40:00 +02:00
Bård Skaflestad
6d7959869c M-x whitespace-cleanup . 2012-04-10 19:38:41 +02:00
Bård Skaflestad
2930722be6 Prune duplicate <cmath> inclusion. 2012-04-10 18:16:51 +02:00
Bård Skaflestad
70a0186b31 Briefly mention the role of the ACLOCAL_AMFLAGS. 2012-04-10 18:15:01 +02:00
Bård Skaflestad
24ef4cde3c Merge from upstream. 2012-04-10 18:13:15 +02:00
Bård Skaflestad
47241e458f Reorder sections for greater internal cohesion. No functional changes.
While here, add a few comments to outline the purpose of each section,
particularly the "libopmcore_la_LDFLAGS".
2012-04-10 18:02:33 +02:00
Xavier Raynaud
f9af5b12f5 Fixed bug in python script. Remove vtu files used to generate figures. 2012-04-10 17:54:50 +02:00
Xavier Raynaud
490f312821 Fixed configure.ac file to take into account tutorials 2012-04-10 17:46:52 +02:00
Xavier Raynaud
3d06f3eb9d Added python script to generate the figures. 2012-04-10 17:24:20 +02:00
Xavier Raynaud
18a4d47afd Added doxygen configuration files (remove Doxyfile from .hgignore). 2012-04-10 17:22:14 +02:00
Xavier Raynaud
820b5d25a7 merge. 2012-04-10 17:18:38 +02:00
Xavier Raynaud
f7d934249d Added first tutorial. 2012-04-10 17:18:19 +02:00
Xavier Raynaud
bf6caa9dd0 Added first tutorial. 2012-04-10 17:16:25 +02:00
Bård Skaflestad
ac34424424 Refine inter-library dependency build specification.
Specifically, the "CPPFLAGS" are for users only.  We must never modify
these flags to build a product.  The appropriate system-internal flags
are the "AM_CPPFLAGS".

Moreover, the "LIBS" variable is an implementation detail that should
not be directly modified by a particular build system.  Inter-library
link dependencies should be specified in the <library>_LDFLAGS.  See,
for instance,
http://www.gnu.org/software/automake/manual/html_node/Libtool-Flags.html
2012-04-10 16:13:12 +02:00
Atgeirr Flø Rasmussen
b5fd4551f5 Merged. 2012-04-10 15:47:28 +02:00
Atgeirr Flø Rasmussen
d0aeeb780c Disabled OpenMP pragmas in low-level fluid evaluations.
This is done to reduce risk of misuse, considering two cases:
 - These functions are often called with a single data point,
   making the thread setup and teardown time prohibitively expensive.
 - This may conflict with higher-level use of OpenMP.
2012-04-10 15:46:24 +02:00
Atgeirr Flø Rasmussen
fa5143abad Removed unused code. 2012-04-10 15:42:47 +02:00
Kjetil Olsen Lye
b1bce20707 Fixed some warnings 2012-04-10 15:01:52 +02:00
Kjetil Olsen Lye
071233f38a added missing include 2012-04-10 14:53:02 +02:00
Kjetil Olsen Lye
b39d5c823f merge 2012-04-10 14:48:35 +02:00
Kjetil Olsen Lye
84b5041487 Fixed namespacing issue 2012-04-10 14:47:29 +02:00
Xavier Raynaud
f56f78289d Added cmath library so that fabs can be used. 2012-04-10 14:32:56 +02:00
Atgeirr Flø Rasmussen
6a042bdefe Do not write denormal values to vtk files.
Workaround for a bug in Paraview, at least on Mac.
2012-04-10 14:09:32 +02:00
Atgeirr Flø Rasmussen
b5c8b21bee Minor edit. 2012-04-02 15:42:28 +02:00
Atgeirr Flø Rasmussen
82120322e8 Added state-related headers for distribution. 2012-04-02 15:42:14 +02:00
Atgeirr Flø Rasmussen
06bfd72f9e Made state before init() valid (0.0 water sat, 1.0 oil sat). 2012-04-02 15:41:13 +02:00
Atgeirr Flø Rasmussen
89bf3c934b Changed single-cell solver call.
- Using [0,1] interval instead of [smin, smax] interval to handle compressible case.
 - Using new version of Regula Falsi function which exploits initial guess.
2012-04-02 13:24:57 +02:00
Atgeirr Flø Rasmussen
aa3728346c Added new variant of Regula Falsi solver, which checks an initial guess first. 2012-04-02 13:23:14 +02:00
Atgeirr Flø Rasmussen
196ec80785 Corrected keyword for turning off gravity in deck input (NOGRAV). 2012-04-02 11:21:56 +02:00
Atgeirr Flø Rasmussen
40b4fcb7ac Merge. 2012-03-30 16:11:27 +02:00
Atgeirr Flø Rasmussen
5e57cb6041 Minor modification of residual formula (equivalent to the old). 2012-03-30 16:11:07 +02:00
Kjetil Olsen Lye
d02e8e8651 Some comments 2012-03-30 10:51:31 +02:00
Atgeirr Flø Rasmussen
c53fb7eb15 New parameter 'injected_porevolumes_per_day' implemented.
- Only used if no wells present.
 - Defaults to 0.0 if gravity is present.
 - Otherwise defaults to 0.1.
These defaults are intended to preserve behaviour from before the
initialisation code changed away from using the 'scenario' parameter.
2012-03-29 21:16:45 +02:00
Atgeirr Flø Rasmussen
5b8d060b1a Bugfix: ensure all cells have a valid saturation initially. 2012-03-29 21:10:14 +02:00
Kjetil Olsen Lye
6d2b487cb7 merge 2012-03-29 18:35:00 +02:00