Fixed major indentation issue---whole file indented arbitrarily
This commit is contained in:
parent
b07f4dd494
commit
668cd14755
@ -38,7 +38,6 @@
|
||||
|
||||
#include <opm/core/grid/GridManager.hpp>
|
||||
|
||||
|
||||
void wells_static_check(const Wells* wells) {
|
||||
BOOST_CHECK_EQUAL(2, wells->number_of_wells);
|
||||
BOOST_CHECK_EQUAL(3, wells->number_of_phases);
|
||||
@ -60,14 +59,12 @@
|
||||
BOOST_CHECK_EQUAL(9 + 2 * 10 + 2 * 10 * 10, wells->well_cells[1]);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
The number of controls is determined by looking at which elements
|
||||
have been given explicit - non-default - values in the WCONxxxx
|
||||
keyword. Is that at all interesting?
|
||||
*/
|
||||
|
||||
|
||||
void check_controls_epoch0(struct WellControls ** ctrls) {
|
||||
// The injector
|
||||
{
|
||||
@ -119,9 +116,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void check_controls_epoch1(struct WellControls ** ctrls) {
|
||||
// The injector
|
||||
{
|
||||
@ -173,7 +167,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void check_controls_epoch3(struct WellControls ** ctrls) {
|
||||
// The new producer
|
||||
const struct WellControls * ctrls1 = ctrls[1];
|
||||
@ -181,9 +174,6 @@
|
||||
BOOST_CHECK_EQUAL(6, well_controls_get_num(ctrls1));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(New_Constructor_Works) {
|
||||
|
||||
const std::string filename = "wells_manager_data.data";
|
||||
@ -206,7 +196,6 @@
|
||||
check_controls_epoch1(wellsManager.c_wells()->ctrls);
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
Opm::WellsManager wellsManager(eclipseState, 3, *gridManager.c_grid(), NULL);
|
||||
const Wells* wells = wellsManager.c_wells();
|
||||
@ -223,8 +212,6 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(WellsEqual) {
|
||||
const std::string filename = "wells_manager_data.data";
|
||||
Opm::ParserPtr parser(new Opm::Parser());
|
||||
@ -241,7 +228,6 @@
|
||||
BOOST_CHECK(!wells_equal( wellsManager0.c_wells() , wellsManager1.c_wells(),false));
|
||||
}
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(ControlsEqual) {
|
||||
const std::string filename = "wells_manager_data.data";
|
||||
Opm::ParseContext parseContext;
|
||||
@ -265,8 +251,6 @@
|
||||
BOOST_CHECK(!well_controls_equal( wellsManager1.c_wells()->ctrls[1] , wellsManager0.c_wells()->ctrls[1] , false));
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(WellShutOK) {
|
||||
const std::string filename = "wells_manager_data.data";
|
||||
Opm::ParserPtr parser(new Opm::Parser());
|
||||
@ -284,8 +268,6 @@
|
||||
//BOOST_CHECK_NO_THROW( Opm::WellsManager wellsManager2(eclipseState , 2 , *gridManager.c_grid(), NULL));
|
||||
}
|
||||
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(WellSTOPOK) {
|
||||
const std::string filename = "wells_manager_data_wellSTOP.data";
|
||||
Opm::ParserPtr parser(new Opm::Parser());
|
||||
|
Loading…
Reference in New Issue
Block a user