mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
Merge pull request #1540 from andlaus/remove_FluidSystems_namespace
adapt to the fluid system naming convention change in opm-material
This commit is contained in:
commit
6a3199dbe8
@ -129,7 +129,7 @@ try
|
||||
std::vector<int> compressedToCartesianIdx
|
||||
= Opm::compressedToCartesian(grid.number_of_cells, grid.global_cell);
|
||||
|
||||
typedef FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Forward declaring the MaterialLawManager template.
|
||||
typedef Opm::ThreePhaseMaterialTraits<double,
|
||||
|
@ -62,7 +62,7 @@ namespace Opm
|
||||
{
|
||||
friend class BlackoilPropsDataHandle;
|
||||
public:
|
||||
typedef FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef BlackOilFluidSystem<double> FluidSystem;
|
||||
typedef Opm::GasPvtMultiplexer<double> GasPvt;
|
||||
typedef Opm::OilPvtMultiplexer<double> OilPvt;
|
||||
typedef Opm::WaterPvtMultiplexer<double> WaterPvt;
|
||||
|
@ -636,7 +636,7 @@ namespace Opm
|
||||
props.numPhases()));
|
||||
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
FluidSystem::initFromDeck(*deck_ , *eclipse_state_);
|
||||
typedef EQUIL::DeckDependent::InitialStateComputer<FluidSystem> ISC;
|
||||
|
||||
|
@ -87,7 +87,7 @@ namespace Opm
|
||||
namespace EQUIL {
|
||||
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystemSimple;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystemSimple;
|
||||
|
||||
// Adjust oil pressure according to gas saturation and cap pressure
|
||||
typedef Opm::SimpleModularFluidState<double,
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
// Forward declaring the MaterialLawManager template.
|
||||
typedef Opm::ThreePhaseMaterialTraits<double,
|
||||
/*wettingPhaseIdx=*/FluidSystem::waterPhaseIdx,
|
||||
@ -409,7 +409,7 @@ BOOST_AUTO_TEST_CASE (DeckAllDead)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Initialize the fluid system
|
||||
FluidSystem::initFromDeck(deck, eclipseState);
|
||||
@ -448,7 +448,7 @@ BOOST_AUTO_TEST_CASE (CapillaryInversion)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
typedef MaterialLawManager::MaterialLaw MaterialLaw;
|
||||
|
||||
if (!FluidSystem::isInitialized()) {
|
||||
@ -514,7 +514,7 @@ BOOST_AUTO_TEST_CASE (DeckWithCapillary)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Initialize the fluid system
|
||||
FluidSystem::initFromDeck(deck, eclipseState);
|
||||
@ -565,7 +565,7 @@ BOOST_AUTO_TEST_CASE (DeckWithCapillaryOverlap)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Initialize the fluid system
|
||||
FluidSystem::initFromDeck(deck, eclipseState);
|
||||
@ -638,7 +638,7 @@ BOOST_AUTO_TEST_CASE (DeckWithLiveOil)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Initialize the fluid system
|
||||
FluidSystem::initFromDeck(deck, eclipseState);
|
||||
@ -726,7 +726,7 @@ BOOST_AUTO_TEST_CASE (DeckWithLiveGas)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Initialize the fluid system
|
||||
FluidSystem::initFromDeck(deck, eclipseState);
|
||||
@ -817,7 +817,7 @@ BOOST_AUTO_TEST_CASE (DeckWithRSVDAndRVVD)
|
||||
MaterialLawManager materialLawManager = MaterialLawManager();
|
||||
materialLawManager.initFromDeck(deck, eclipseState, compressedToCartesianIdx);
|
||||
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
|
||||
// Initialize the fluid system
|
||||
FluidSystem::initFromDeck(deck, eclipseState);
|
||||
|
@ -130,7 +130,7 @@ BOOST_AUTO_TEST_CASE(TestStandardWellInput) {
|
||||
const Opm::BlackoilModelParameters param;
|
||||
|
||||
// For the conversion between the surface volume rate and resrevoir voidage rate
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
using RateConverterType = Opm::RateConverter::
|
||||
SurfaceToReservoirVoidage<FluidSystem, std::vector<int> >;
|
||||
// Compute reservoir volumes for RESV controls.
|
||||
@ -172,7 +172,7 @@ BOOST_AUTO_TEST_CASE(TestBehavoir) {
|
||||
// we should always be able to find the well in wells_ecl
|
||||
BOOST_CHECK(index_well != wells_ecl.size());
|
||||
// For the conversion between the surface volume rate and resrevoir voidage rate
|
||||
typedef Opm::FluidSystems::BlackOil<double> FluidSystem;
|
||||
typedef Opm::BlackOilFluidSystem<double> FluidSystem;
|
||||
using RateConverterType = Opm::RateConverter::
|
||||
SurfaceToReservoirVoidage<FluidSystem, std::vector<int> >;
|
||||
// Compute reservoir volumes for RESV controls.
|
||||
|
Loading…
Reference in New Issue
Block a user