Added ZGRP data to the eclipse restart file
This commit is contained in:
@@ -549,6 +549,14 @@ captureDeclaredGroupData(const Opm::Schedule& sched,
|
||||
auto xg = this->xGroup_[groupID];
|
||||
XGrp::dynamicContrib( restart_group_keys, restart_field_keys, groupKeyToIndex, fieldKeyToIndex, group, sumState, ecl_compatible_rst, xg);
|
||||
});
|
||||
|
||||
// Define Static Contributions to ZGrp Array.
|
||||
groupLoop(curGroups,
|
||||
[this](const Group& group, const std::size_t groupID) -> void
|
||||
{
|
||||
auto zw = this->zGroup_[groupID];
|
||||
zw[0] = group.name();
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -311,10 +311,10 @@ namespace {
|
||||
grpKeyToInd, fldKeyToInd,
|
||||
ecl_compatible_rst,
|
||||
simStep, sumState, ih);
|
||||
|
||||
write_kw(rst_file, "IGRP", groupData.getIGroup());
|
||||
write_kw(rst_file, "SGRP", groupData.getSGroup());
|
||||
write_kw(rst_file, "XGRP", groupData.getXGroup());
|
||||
write_kw(rst_file, "ZGRP", serialize_ZWEL(groupData.getZGroup()));
|
||||
}
|
||||
|
||||
void writeMSWData(::Opm::RestartIO::ecl_rst_file_type* rst_file,
|
||||
|
||||
Reference in New Issue
Block a user