mirror of
https://github.com/OPM/opm-upscaling.git
synced 2026-08-27 05:27:10 -05:00
59 lines
1.6 KiB
C++
59 lines
1.6 KiB
C++
//===========================================================================
|
|
//
|
|
// File: steadystate_test.cpp
|
|
//
|
|
// Created: Fri Aug 28 14:11:03 2009
|
|
//
|
|
// Author(s): Atgeirr F Rasmussen <atgeirr@sintef.no>
|
|
// B�rd Skaflestad <bard.skaflestad@sintef.no>
|
|
//
|
|
// $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 <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#include <config.h>
|
|
|
|
|
|
//#define VERBOSE
|
|
|
|
#include <opm/upscaling/SteadyStateUpscalerManager.hpp>
|
|
#include <opm/upscaling/UpscalingTraits.hpp>
|
|
|
|
using namespace Opm;
|
|
|
|
int main(int argc, char** argv)
|
|
try
|
|
{
|
|
//Initialize.
|
|
Opm::parameter::ParameterGroup param(argc, argv);
|
|
//MPIHelper::instance(argc,argv);
|
|
SteadyStateUpscalerManager<UpscalingTraitsBasic> mgr;
|
|
mgr.upscale(param);
|
|
}
|
|
catch (const std::exception &e) {
|
|
std::cerr << "Program threw an exception: " << e.what() << "\n";
|
|
throw;
|
|
}
|
|
|