Commit Graph

356 Commits

Author SHA1 Message Date
Joakim Hove
25746bb500 Added SimulationDataContainer::setCellDataComponent() 2016-02-19 08:31:13 +01:00
Joakim Hove
3d2fa142e2 Changes ptr_equal -> array_equal 2016-02-19 07:54:21 +01:00
Joakim Hove
aeeaf9c342 Using #include <cmath> and std::fabs() 2016-02-19 07:50:18 +01:00
Joakim Hove
48f0513ca1 Implemented float comparison with templates 2016-02-17 21:59:08 +01:00
Atgeirr Flø Rasmussen
765cd77b68 Merge pull request #74 from joakim-hove/float-cmp
Added util/numeric/cmp.hpp
2016-02-12 10:15:49 +01:00
Joakim Hove
ee6836bd39 Added equal() method to SimulationDataContainer 2016-02-09 15:34:39 +01:00
Joakim Hove
d2ab19f318 Added util/numeric/cmp.cpp 2016-02-09 15:31:40 +01:00
Alf Birger Rustad
005b2d2df4 Merge pull request #71 from akva2/fix_sibling_build_thing
fixed: workaround if() bug in cmake
2016-02-08 12:00:35 +01:00
Joakim Hove
8b36c2a7d6 Merge pull request #73 from jepebe/travis
Added Travis status to README.md
2016-02-05 10:45:01 +01:00
Jean-Paul Balabanian
ae29bdef23 Added Travis status to README.md 2016-02-05 08:33:51 +01:00
Joakim Hove
2729a503de Merge pull request #72 from joakim-hove/install-fixup
Install fixup.
2016-02-04 16:33:10 +01:00
Joakim Hove
3469177532 Install fixup. 2016-02-04 16:31:44 +01:00
Andreas Lauser
5a98a919e4 Merge pull request #67 from joakim-hove/findert-update
Simplified FindERT module
2016-02-04 16:22:44 +01:00
Joakim Hove
69d3942e21 Merge pull request #68 from joakim-hove/datacontainer
SimulationDatacontainer
2016-02-04 15:57:45 +01:00
Joakim Hove
c5acc7561d Added methods to register cell and face data. 2016-02-04 14:30:26 +01:00
Joakim Hove
e486194996 Renamed DataContainer -> SimulationDataContainer. 2016-02-04 12:54:23 +01:00
Joakim Hove
05e319b62e Added probe for sibling find of utilxx/include. 2016-02-04 12:40:03 +01:00
Joakim Hove
8b6fb56e84 Simplified FindERT module 2016-02-04 12:40:03 +01:00
Atgeirr Flø Rasmussen
daa700ab9f Merge pull request #70 from jepebe/travis
Travis support
2016-02-04 10:27:25 +01:00
Jean-Paul Balabanian
000ad4ab48 Added Travis support 2016-02-04 06:34:38 +01:00
Arne Morten Kvarving
531449951d fixed: workaround if() bug in cmake
seems you cannot rely on the NOTFOUND postfix for compound if's
2016-02-03 14:44:53 +01:00
Joakim Hove
10213b025c Merge pull request #66 from joakim-hove/create-lib
Create library in opm-common
2016-02-02 10:06:16 +01:00
Joakim Hove
cb626c71b9 Ignore build/ directory at project root. 2016-02-01 10:33:35 +01:00
Joakim Hove
c8e8be6db9 Added library opm-common with DataContainer. 2016-02-01 10:33:34 +01:00
Andreas Lauser
ecc98ac321 Merge pull request #65 from dr-robertk/PR/fix-dune-alugrid-find
Finddune-alugrid: find the package when build with cmake or autotools
2016-01-29 20:24:15 +01:00
Robert Kloefkorn
40573e6c57 Finddune-alugrid: switch order of appearance. 2016-01-28 13:42:55 -07:00
Robert Kloefkorn
1269d918a2 Finddune-alugrid: find the package when build with cmake or autotools (libs differ) 2016-01-28 13:27:45 -07:00
Joakim Hove
4b16c76d2d Added opmcommon library in Findopm-common. 2016-01-26 13:29:27 +01:00
Arne Morten Kvarving
dc77753950 Merge pull request #64 from andlaus/squelch_cmp00054_warning
hack around CMake policy CMP00054
2015-11-18 10:29:42 +01:00
Andreas Lauser
9cd4a79b87 hack around CMake policy CMP00054
newer versions of cmake (mine is 3.2.2) complain about policy CMP00054:

```
CMake Warning (dev) at /home/and/src/opm-common/cmake/Modules/ConfigVars.cmake:30 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "FILE" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  /home/and/src/opm-common/cmake/Modules/OpmLibMain.cmake:173 (configure_vars)
  CMakeLists.txt:109 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
```

since I'm pretty sure that the old behaviour was not intended here,
fix this for older versions of cmake as well (by adding a prefix so that
CMake does not interpret "FILE" as a variable.)
2015-11-17 17:36:11 +01:00
Atgeirr Flø Rasmussen
8fefe29e7c Merge pull request #58 from andlaus/fix_alugrid_libs
adapt Finddune-alugrid.cmake to the "paramerge" branch of dune-alugrid
2015-11-09 13:13:41 +01:00
dr-robertk
66d6d11bfd Merge pull request #61 from atgeirr/bump-version
Bump version and unify format of dune.module.
2015-10-23 15:06:44 +02:00
Atgeirr Flø Rasmussen
9a615468c5 Merge pull request #60 from atgeirr/improve-useversion
Improve the UseVersion module.
2015-10-23 13:37:38 +02:00
Atgeirr Flø Rasmussen
9265a695ea Bump version and unify format of dune.module. 2015-10-23 13:18:47 +02:00
Atgeirr Flø Rasmussen
6e1efc79af Improve the UseVersion module.
The changes are:
 - Add new macros PROJECT_VERSION_NAME and PROJECT_VERSION_HASH
   in addition to the existing PROJECT_VERSION.
 - Add header include guards.
2015-10-23 10:59:08 +02:00
Joakim Hove
531681363b Merge pull request #59 from atgeirr/remove-realpath
Do not use REALPATH for OPM_DATA_ROOT.
2015-10-22 08:56:50 +02:00
Atgeirr Flø Rasmussen
e5f0fd70bb Do not use REALPATH for OPM_DATA_ROOT.
This caused trouble when the PROJECT_SOURCE_DIR is a
symlink. When 'b' is a symlink, 'a/b/../' is not the same as 'a',
but that is exactly what REALPATH does. In this case, it means that
the opm-data is found (at ../ relative to the symlink), but the path
that is set does not point to it.
2015-10-21 21:59:45 +02:00
Andreas Lauser
aebc12a227 adapt Finddune-alugrid.cmake to the "paramerge" branch of dune-alugrid 2015-10-21 17:58:58 +02:00
Atgeirr Flø Rasmussen
ccc1e5c71f Update README.md 2015-10-21 11:00:30 +02:00
Atgeirr Flø Rasmussen
77d83de695 Merge pull request #57 from akva2/add_redhat_packaging
add redhat packaging
2015-10-20 18:31:14 +02:00
Arne Morten Kvarving
d57a811f0c add redhat packaging
rhel6/rhel7 is supported
2015-10-20 15:41:58 +02:00
Atgeirr Flø Rasmussen
7cb6484a97 Merge pull request #56 from akva2/add_debian_packaging
added: debian packaging
2015-10-20 10:11:06 +02:00
Arne Morten Kvarving
b55059ac1a added: debian packaging 2015-10-20 10:07:25 +02:00
Atgeirr Flø Rasmussen
d8cd06f29d Merge pull request #55 from andlaus/error_macros_to_opm_common
add the error macros from opm-core
2015-10-12 13:30:18 +02:00
Andreas Lauser
4a3e1a2fd9 add the error macros from opm-core
i.e., OPM_THROW(exception, message) and some excption classes
2015-10-08 12:13:19 +02:00
Joakim Hove
295c848e54 Merge pull request #54 from akva2/fix_multiple_finds
fixed: also check lower-case module variable
2015-10-07 22:48:20 +02:00
Arne Morten Kvarving
f2c14be3be fixed: also check lower-case module variable 2015-10-07 12:59:45 +02:00
Joakim Hove
4c124c54b4 Merge pull request #52 from joakim-hove/opm-common-required
opm-common is REQUIRED
2015-10-06 16:06:23 +02:00
Joakim Hove
242f2d1e92 opm-common is REQUIRED
After moving the headers to enable and disable external warnings to
opm-common, opm-common has become a required dependency for
dune-cornerpoint, opm-autodiff and opm-core.
2015-10-06 12:17:21 +02:00
Atgeirr Flø Rasmussen
97c6d9e8ba Merge pull request #51 from joakim-hove/add-warning-suppression
Move warning suppression header
2015-10-06 08:28:14 +02:00