diff --git a/examples/wells_example.cpp b/examples/wells_example.cpp new file mode 100644 index 000000000..68b54ce57 --- /dev/null +++ b/examples/wells_example.cpp @@ -0,0 +1,27 @@ +#include +#include +#include +#include +#include + +#include "opm/core/newwells.h" + +int main(int argc, char** argv) { + + using namespace Opm::parameter; + using namespace Opm; + ParameterGroup parameters( argc, argv, false ); + std::string file_name = parameters.getDefault("inputdeck", "data.data"); + + // Read input file + EclipseGridParser parser(file_name); + std::cout << "Done!" << std::endl; + // Setup grid + GridManager grid(parser); + + // Finally handle the wells + WellsManager wells(parser, *grid.c_grid(), NULL); + + return 0; +} +