opm-simulators/ebos
Markus Blatt a0fa87e81f Make sure subclass functions are not called before subclass is initialized.
This at least slightly improves the old design. In that design the
subclass had no own constructor but inherited the one of the base class.
That base class constructor called certain subclass
functions (createGrids_, filterConnections_, updateOutputDir_, and
finalizeInit_)that would initialize raw pointers of the
subclass. Hence subclasses where not allowed to have non-pod members
and those used later (e.g. deleted in the destructor) had to be
initialized in these functions.

The new (still ugly) design introduces constructors into the
subclasses and skips inheriting constructors. Now one must call a base
class function classImplementationInit which will still call the
functions createGrids_, filterConnections_, updateOutputDir_, and
finalizeInit_, but at least at this point the baseclass is fully
constructed and the subclass is constructed as much as
possible/needed (non-pod types will be initialized now.)
2019-10-01 21:18:17 +02:00
..
equil Uuse new EquilRecord from opm-common 2019-09-23 21:42:41 +02:00
alucartesianindexmapper.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
collecttoiorank.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_altidx.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_blackoil.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_blackoil.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_foam_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_foam.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_foam.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_gasoil_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_gasoil.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_gasoil.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_oilwater_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_oilwater.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_oilwater.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_plain.cc changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
ebos_polymer_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_polymer.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_polymer.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_solvent_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_solvent.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_solvent.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_thermal_main.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_thermal.cc changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos_thermal.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
ebos.hh changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
eclalugridvanguard.hh Make sure subclass functions are not called before subclass is initialized. 2019-10-01 21:18:17 +02:00
eclbaseaquifermodel.hh changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
eclbasevanguard.hh Make sure subclass functions are not called before subclass is initialized. 2019-10-01 21:18:17 +02:00
eclcpgridvanguard.hh Make sure subclass functions are not called before subclass is initialized. 2019-10-01 21:18:17 +02:00
ecldummygradientcalculator.hh changed: ewoms/disc -> opm/models/discretization 2019-09-19 11:16:26 +02:00
eclequilinitializer.hh changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
eclfluxmodule.hh changed: ewoms/disc -> opm/models/discretization 2019-09-19 11:16:26 +02:00
eclnewtonmethod.hh changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
ecloutputblackoilmodule.hh Blackoil Output: Chase API Change in SummaryNode Class 2019-09-30 15:00:05 +02:00
eclpeacemanwell.hh changed: ewoms/disc -> opm/models/discretization 2019-09-19 11:16:26 +02:00
eclpolyhedralgridvanguard.hh Make sure subclass functions are not called before subclass is initialized. 2019-10-01 21:18:17 +02:00
eclproblem.hh Make is possible to test driftCompensation i Flow, Default is still false 2019-09-25 09:03:32 +02:00
eclthresholdpressure.hh changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
ecltracermodel.hh changed: ewoms/models/blackoil -> opm/models/blackoil 2019-09-19 11:12:45 +02:00
ecltransmissibility.hh changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
eclwellmanager.hh changed: ewoms/disc -> opm/models/discretization 2019-09-19 11:16:26 +02:00
eclwriter.hh Pass sim start argument to SummaryState constructor 2019-09-20 07:40:04 +02:00
femcpgridcompat.hh make the coding style of femcpgridcompat.hh consistent with the rest of eWoms/ebos 2019-02-01 17:33:30 +01:00
mebos_main.cc changed: ewoms/common -> opm/models/utils 2019-09-19 11:14:36 +02:00
nncsorter.cpp changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
nncsorter.hpp changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
tracervdtable.hh changed: namespace Ewoms -> namespace Opm 2019-09-05 17:14:38 +02:00
vtkecltracermodule.hh changed: ewoms/io -> opm/models/io 2019-09-19 11:17:12 +02:00