Merge pull request #5047 from totto82/applyMultBC

Apply MULT[XYZ] to boundary trans
This commit is contained in:
Markus Blatt 2023-12-08 14:51:12 +01:00 committed by GitHub
commit 3b60e1ef89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,6 +278,8 @@ update(bool global, const std::function<unsigned int(unsigned int)>& map, const
// normally there would be two half-transmissibilities that would be
// averaged. on the grid boundary there only is the half
// transmissibility of the interior element.
unsigned insideCartElemIdx = cartMapper_.cartesianIndex(elemIdx);
applyMultipliers_(transBoundaryIs, intersection.indexInInside(), insideCartElemIdx, transMult);
transBoundary_[std::make_pair(elemIdx, boundaryIsIdx)] = transBoundaryIs;
// for boundary intersections we also need to compute the thermal