Commit Graph

15 Commits

Author SHA1 Message Date
Arne Morten Kvarving
ff8ab1c1dc changed: mark constructor explicit 2018-11-07 09:43:14 +01:00
Tor Harald Sandve
95179f393c Fix vappars and dr[sv]dt logic
The simulator should either use VAPPERS or dr[sv]dt, both the
combination drsdt and drvdt is allowed.
2018-11-05 13:38:42 +01:00
Arne Morten Kvarving
120ad9e4fa changed: pass by const ref
quells a static analyzer warning
2018-01-11 13:18:41 +01:00
Arne Morten Kvarving
1eae9ed8c7 explicitly add default constructor to quell warnings 2017-06-09 17:38:42 +02:00
Jørgen Kvalsvik
8d240c02f6 OilVaporizationProperties.defined
Extend the interface of OilVaporizationProperties to not rely on
checking the enum for existence checks. This facilities checking
hasOilVaporizationProperties which rely on DynamicState.size.
2016-12-01 16:23:01 +01:00
Jørgen Kvalsvik
b932b0d2c2 fixup! Make Schedule.oilvaporization auto, not shared_ptr 2016-10-05 14:46:56 +02:00
Jørgen Kvalsvik
1638341a90 Default construction for OilVaporizationProperties
OilVaporizationProperties can now be default constructed, and its
storage has been changed from shared_ptr to value (which mandates the
support for default construction and equality/unequality).

The default constructed Property is considered unspecified and
operations on it will not make sense.
2016-10-05 14:11:57 +02:00
chflo
0db3abab94 Added copyright header to files that were without it 2016-03-04 14:56:18 +01:00
Jørgen Kvalsvik
4b98943665 Replaces unecessary header includes with fwd decls
Every header is self-contained and includes only what it must to
function, relying on users include what they need in source files,
adopting a pay-what-you-use model (in particular for internal
dependencies).
2016-01-26 13:23:22 +01:00
Jørgen Kvalsvik
f404828d63 Cleans up headers to improve build preformance
This is an effort to improve build performance.  Several includes
scattered across the project are either unused or partially used (i.e.
just used to import a type name, not depending on the actual contents of
the header file).

Replaces a lot of these includes with forward declarations.
2016-01-21 09:22:06 +01:00
Atgeirr Flø Rasmussen
c937867286 Do not use const for value return. 2015-10-12 10:04:35 +02:00
Fredrik Gundersen
ec74096dcb Changed return value for option to bool 2015-10-09 09:50:09 +02:00
Fredrik Gundersen
80a77136cf Fix OilVaporizationProperties to have only one constructor 2015-10-08 11:17:24 +02:00
Fredrik Gundersen
8cc250d9fe OPM-230 Expanded the propertie class 2015-10-02 10:48:15 +02:00
Fredrik Gundersen
afcd37f9c8 OPM-230 Added new properties file for Oil Vap. 2015-09-28 14:31:36 +02:00