Further additions and changes to implement preparation and writing of group data to the restart file
This commit is contained in:
@@ -385,10 +385,8 @@ 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
|
||||
//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();
|
||||
for (const auto& group : childGroups ) {
|
||||
igrp[igrpCount] = group->seqIndex()+1;
|
||||
igrpCount+=1;
|
||||
//std::cout << "childGroups: igrpCount after increment: " << igrpCount << std::endl;
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ data::Wells restore_wells( const ::Opm::RestartIO::ecl_kw_type * opm_xwel,
|
||||
|
||||
return wells;
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
//* should take grid as argument because it may be modified from the simulator */
|
||||
@@ -373,8 +373,7 @@ RestartValue load( const std::string& filename,
|
||||
return rst_value;
|
||||
}
|
||||
|
||||
|
||||
namespace {
|
||||
//namespace {
|
||||
|
||||
std::vector<int> serialize_ICON( int sim_step,
|
||||
int ncwmax,
|
||||
|
||||
Reference in New Issue
Block a user