//=========================================================================== // // File: steadystate_test.cpp // // Created: Fri Aug 28 14:11:03 2009 // // Author(s): Atgeirr F Rasmussen // B�rd Skaflestad // // $Date$ // // $Revision$ // //=========================================================================== /* Copyright 2009, 2010 SINTEF ICT, Applied Mathematics. Copyright 2009, 2010 Statoil ASA. This file is part of The Open Reservoir Simulator Project (OpenRS). OpenRS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenRS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenRS. If not, see . */ #include #include #include #include #include #include #include #include #include #include namespace Opm { template struct Implicit { template struct TransportSolver { enum { Dimension = GridInterface::Dimension }; typedef typename IsotropyPolicy::template ResProp::Type RP; typedef EulerUpstreamImplicit Type; }; }; typedef SimulatorTraits UpscalingTraitsBasicImplicit; } using namespace Opm; int main(int argc, char** argv) try { Dune::MPIHelper::instance(argc, argv); // Initialize. Opm::ParameterGroup param(argc, argv); // MPIHelper::instance(argc,argv) ; typedef SteadyStateUpscalerImplicit upscaler_t; SteadyStateUpscalerManagerImplicit mgr; mgr.upscale(param); } catch (const std::exception &e) { std::cerr << "Program threw an exception: " << e.what() << "\n"; throw; }