Pass pointers of region and block data to eclIO
This commit is contained in:
parent
890b2226b2
commit
8a5062ae27
@ -175,10 +175,10 @@ public:
|
||||
double seconds_elapsed,
|
||||
data::Solution,
|
||||
data::Wells,
|
||||
std::map<std::string, double> single_summary_values,
|
||||
std::map<std::string, std::vector<double>> region_summary_values,
|
||||
std::map<std::pair<std::string, int>, double> block_summary_values = {},
|
||||
std::map<std::string, std::vector<double>> extra_restart = {},
|
||||
const std::map<std::string, double>& single_summary_values,
|
||||
const std::map<std::string, std::vector<double>>& region_summary_values,
|
||||
const std::map<std::pair<std::string, int>, double>& block_summary_values,
|
||||
const std::map<std::string, std::vector<double>>& extra_restart = {},
|
||||
bool write_double = false);
|
||||
|
||||
|
||||
|
@ -409,10 +409,10 @@ void EclipseIO::writeTimeStep(int report_step,
|
||||
double secs_elapsed,
|
||||
data::Solution cells,
|
||||
data::Wells wells,
|
||||
std::map<std::string, double> single_summary_values,
|
||||
std::map<std::string, std::vector<double>> region_summary_values,
|
||||
std::map<std::pair<std::string, int>, double> block_summary_values,
|
||||
std::map<std::string, std::vector<double>> extra_restart,
|
||||
const std::map<std::__cxx11::string, double>& single_summary_values,
|
||||
const std::map<std::__cxx11::string, std::vector<double> >& region_summary_values,
|
||||
const std::map<std::pair<std::__cxx11::string, int>, double>& block_summary_values,
|
||||
const std::map<std::__cxx11::string, std::vector<double>>&extra_restart,
|
||||
bool write_double)
|
||||
{
|
||||
|
||||
|
@ -342,6 +342,7 @@ BOOST_AUTO_TEST_CASE(EclipseIOIntegration) {
|
||||
first_step - start_time,
|
||||
sol,
|
||||
wells,
|
||||
{},
|
||||
{},
|
||||
{});
|
||||
|
||||
|
@ -145,6 +145,7 @@ BOOST_AUTO_TEST_CASE(test_RFT) {
|
||||
step_time - start_time,
|
||||
createBlackoilState( 2, numCells ),
|
||||
wells,
|
||||
{},
|
||||
{},
|
||||
{});
|
||||
}
|
||||
@ -223,6 +224,7 @@ BOOST_AUTO_TEST_CASE(test_RFT2) {
|
||||
createBlackoilState( 2, numCells ),
|
||||
wells,
|
||||
{},
|
||||
{},
|
||||
{});
|
||||
}
|
||||
verifyRFTFile2("TESTRFT.RFT");
|
||||
|
@ -162,6 +162,7 @@ BOOST_AUTO_TEST_CASE(EclipseWriteRestartWellInfo) {
|
||||
solution,
|
||||
wells ,
|
||||
{},
|
||||
{},
|
||||
{} );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user