Fault Reactivation: Fix more references to ALL sets.

This commit is contained in:
Kristian Bendiksen 2023-11-24 11:44:32 +01:00 committed by jonjenssen
parent 039aee8d53
commit 18cb0dbe6f

View File

@ -269,7 +269,7 @@ std::pair<bool, std::string>
CAF_ASSERT( partNameIt != partNames.end() );
std::string partName = partNameIt->second;
RifInpExportTools::printHeading( stream, "Transform, nset=" + partName + "." + partName );
RifInpExportTools::printHeading( stream, "Transform, nset=" + partName + ".ALL" );
auto [dir1, dir2] = transform;
RifInpExportTools::printNumbers( stream, { dir1.x(), dir1.y(), dir1.z(), dir2.x(), dir2.y(), dir2.z() } );
}
@ -468,7 +468,7 @@ std::pair<bool, std::string>
auto partNameIt = partNames.find( part );
CAF_ASSERT( partNameIt != partNames.end() );
std::string partName = partNameIt->second;
printBoundaryCondition( stream, partName + "." + partName, partSymmetry );
printBoundaryCondition( stream, partName + ".ALL", partSymmetry );
}
return { true, "" };
@ -496,7 +496,7 @@ std::pair<bool, std::string>
std::vector<PredefinedField> fields;
for ( auto [part, partName] : partNames )
{
std::string name = partName + "." + partName;
std::string name = partName + ".ALL";
if ( !voidRatioFromEclipse )
{
fields.push_back( PredefinedField{ .initialConditionType = "RATIO", .partName = name, .value = 0.3 } );