Commit Graph

271 Commits

Author SHA1 Message Date
Joakim Hove
4958bc55f2 Added non const cellData() access. 2016-03-02 23:20:16 +01:00
Arne Morten Kvarving
812902ff9d Merge pull request #79 from andlaus/do_not_depend_on_boost_iostreams
remove the dependency on boost::iostreams if it is not used
2016-03-01 09:46:37 +01:00
Bård Skaflestad
b833f6c37d Merge pull request #82 from joakim-hove/reference
Added missing &reference symbol.
2016-02-29 09:19:51 -06:00
Joakim Hove
72c8a44dc9 Added missing &reference symbol. 2016-02-29 16:06:59 +01:00
Atgeirr Flø Rasmussen
83b88f143c Merge pull request #81 from joakim-hove/add-iterator
Add iterator
2016-02-29 11:23:01 +01:00
Joakim Hove
5d2469f18e Added global cell data access methods. 2016-02-29 11:17:16 +01:00
Joakim Hove
84a827e847 Added method to query for number of components. 2016-02-29 11:13:06 +01:00
Bård Skaflestad
32dbe00516 Merge pull request #80 from joakim-hove/add-const-overload
Added const overloads
2016-02-25 22:18:35 -06:00
Joakim Hove
5e63006285 Added const overloads 2016-02-25 21:52:08 +01:00
Andreas Lauser
77e7ed97c9 remove the dependency on boost::iostreams if it is not used
as far as I can see, it is not used in any module except opm-upscaling
and it caused the configure stage to fail if I tried to use with a
self-compiled boost 1.60 (which I have to do in order to use clang on
any modern linux distribution.)
2016-02-25 16:40:59 +01:00
Joakim Hove
fb0f00662c Merge pull request #78 from atgeirr/minor-fixes
Minor bugfix and silence a warning.
2016-02-19 14:46:00 +01:00
Atgeirr Flø Rasmussen
70d1831a76 Silence sign mismatch warning. 2016-02-19 14:21:11 +01:00
Atgeirr Flø Rasmussen
4547b5bf82 Bugfix: honor tolerance arguments. 2016-02-19 14:20:44 +01:00
Atgeirr Flø Rasmussen
af24ed82d3 Merge pull request #77 from joakim-hove/template-cmp
Implemented float comparison with templates
2016-02-19 11:41:00 +01:00
Atgeirr Flø Rasmussen
b8d18a6909 Merge pull request #76 from joakim-hove/set-state-component
Added SimulationDataContainer::setCellDataComponent()
2016-02-19 10:43:12 +01:00
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