mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fault activation: node adjustments along fault (#11235)
Make sure same thickness vectors and fault lines are used for both parts.
This commit is contained in:
@@ -204,13 +204,13 @@ std::pair<bool, std::string> RifFaultReactivationModelExporter::printParts(
|
||||
for ( auto [boundary, boundaryName] : boundaries )
|
||||
{
|
||||
// Create boundary condition sets for each side of the parts (except top).
|
||||
auto boundaryNodes = grid->boundaryNodes();
|
||||
auto boundaryElements = grid->boundaryElements();
|
||||
const auto& boundaryNodes = grid->boundaryNodes();
|
||||
const auto& boundaryElements = grid->boundaryElements();
|
||||
|
||||
const std::vector<unsigned int>& nodes = boundaryNodes[boundary];
|
||||
const std::vector<unsigned int>& nodes = boundaryNodes.at( boundary );
|
||||
RifInpExportTools::printNodeSet( stream, boundaryName, false, nodes );
|
||||
|
||||
const std::vector<unsigned int>& elements = boundaryElements[boundary];
|
||||
const std::vector<unsigned int>& elements = boundaryElements.at( boundary );
|
||||
RifInpExportTools::printElementSet( stream, boundaryName, false, elements );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user