Commit Graph

1423 Commits

Author SHA1 Message Date
Kjetil Olsen Lye
9511d8dce2 Cleaned up examples/Makefile.am somewhat [made linking more clear] 2012-04-12 12:17:27 +02:00
Bård Skaflestad
74653b42d2 Replace malloc() call with default grid constructor.
This enables removing the explicit initialisation of pointer members
in the UnstructuredGrid because the return value from
create_grid_empty() is already in a fully defined state and may be
passed directly on to destroy_grid().
2012-04-11 19:12:06 +02:00
Bård Skaflestad
394c463f1e Add default grid constructor. Creates an empty grid.
This is mostly for use in *other* grid constructors, as it enables
putting a grid into a defined state before allocating and/or filling
the specific fields of the UnstructuredGrid.

While here, add a Doxygen \file command lest function documentation
not be output to the documentation set.
2012-04-11 18:48:29 +02:00
Kjetil Olsen Lye
c65dff9f2d Added necessary libraries to the examples 2012-04-11 16:35:45 +02:00
Kjetil Olsen Lye
7f36232ba0 merge 2012-04-11 15:31:10 +02:00
Kjetil Olsen Lye
e70a6bbbd3 Made linear solving of first timestep 2012-04-11 15:29:58 +02:00
Atgeirr Flø Rasmussen
e2bbeef778 Extract all docs by default. 2012-04-11 14:04:37 +02:00
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