Added changes to serialize IGRP and SGRP and write to restart file

This commit is contained in:
Jostein Alvestad
2018-05-15 12:38:04 +02:00
parent 531581762f
commit f7d975920b
2 changed files with 4 additions and 3 deletions

View File

@@ -385,8 +385,10 @@ namespace {
//group has child groups
//The field group always has seqIndex = 0 because it is always defined first
//Hence the all groups except the Field group uses the seqIndex assigned
for (const auto& group : childGroups ) {
igrp[igrpCount] = group->seqIndex()+1;
//std::cout << "IGrpArray - staticContrib: childGroups for group.name(): " << group.name() << "childGroups - size: " << childGroups.size() << std::endl;
for (const auto grp : childGroups ) {
//std::cout << "Child Group name: " << grp->name() << " Group seqIndex(): " << grp->seqIndex()-1 << std::endl;
igrp[igrpCount] = grp->seqIndex();
igrpCount+=1;
//std::cout << "childGroups: igrpCount after increment: " << igrpCount << std::endl;
}

View File

@@ -31,7 +31,6 @@
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/ScheduleEnums.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Well.hpp>
//#include <opm/output/data/Wells.hpp>
#include <opm/parser/eclipse/Units/UnitSystem.hpp>
#include <opm/parser/eclipse/Units/Units.hpp>