Expose 'param' and 'deck' in TestFixture.

This commit is contained in:
Bård Skaflestad 2013-05-14 15:31:41 +02:00
parent a1ca968991
commit 667cae6d84

View File

@ -57,12 +57,15 @@ struct TestFixture : public Setup
{
TestFixture()
: Setup()
, grid (Setup::deck)
, props(Setup::deck, *grid.c_grid(), Setup::param,
Setup::param.getDefault("init_rock", false))
, grid (deck)
, props(deck, *grid.c_grid(), param,
param.getDefault("init_rock", false))
{
}
using Setup::param;
using Setup::deck;
Opm::GridManager grid;
Opm::BlackoilPropertiesFromDeck props;
};