Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/grdecl2vtu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <opm/grid/CpGrid.hpp>

#include <opm/grid/utility/OpmParserIncludes.hpp>
#include <opm/parser/eclipse/Parser/Parser.hpp>

using namespace Dune;

Expand Down
8 changes: 1 addition & 7 deletions opm/grid/utility/OpmParserIncludes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
#define OPM_GRID_OPMPARSERINCLUDES_HEADER_INCLUDED

#if HAVE_ECL_INPUT
#include <opm/parser/eclipse/Parser/Parser.hpp>
#include <opm/parser/eclipse/Deck/Deck.hpp>
#include <opm/parser/eclipse/Deck/DeckItem.hpp>
#include <opm/parser/eclipse/Deck/DeckKeyword.hpp>
#include <opm/parser/eclipse/Deck/DeckRecord.hpp>
#include <opm/parser/eclipse/EclipseState/Grid/EclipseGrid.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/WellConnections.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp>
#include <opm/common/utility/ActiveGridCells.hpp>
Expand All @@ -33,15 +29,13 @@
namespace Dune {
namespace cpgrid {
typedef Opm::Well OpmWellType;
typedef Opm::EclipseState OpmEclipseStateType;
}
}
#else // #if HAVE_ECL_INPUT

namespace Dune {
namespace cpgrid {
typedef int OpmWellType;
typedef int OpmEclipseStateType;
}
}

Expand Down
1 change: 1 addition & 0 deletions tests/test_column_extract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <opm/grid/GridManager.hpp>

#include <opm/grid/utility/OpmParserIncludes.hpp>
#include <opm/parser/eclipse/Parser/Parser.hpp>

#include <cstddef>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cpgrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ using Dune::referenceElement; //grid check assume usage of Dune::Geometry
#include <opm/grid/utility/platform_dependent/reenable_warnings.h>

#include <opm/grid/utility/OpmParserIncludes.hpp>

#include <opm/parser/eclipse/Parser/Parser.hpp>
#include <iostream>

template <class GridView>
Expand Down
2 changes: 2 additions & 0 deletions tests/test_ug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <opm/grid/cpgpreprocess/preprocess.h>

#include <opm/grid/utility/OpmParserIncludes.hpp>
#include <opm/parser/eclipse/EclipseState/EclipseState.hpp>
#include <opm/parser/eclipse/Parser/Parser.hpp>

using namespace std;

Expand Down