From 2057d81892653d237fd904a24063cc6d7ff71ea1 Mon Sep 17 00:00:00 2001 From: Gaetan Bricteux <gaetan.bricteux@uclouvain.be> Date: Mon, 12 Dec 2011 16:32:18 +0000 Subject: [PATCH] fix --- Geo/MElementCut.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Geo/MElementCut.cpp b/Geo/MElementCut.cpp index 751d9dbc7f..c3722d5b6e 100644 --- a/Geo/MElementCut.cpp +++ b/Geo/MElementCut.cpp @@ -995,6 +995,7 @@ static void elementCutMesh(MElement *e, std::vector<gLevelset *> &RPN, if(poly[1].size()) { int n = (e->getParent() && poly[0].size() == 0) ? e->getNum() : ++numEle; p2 = new MPolyhedron(poly[1], n, ePart, own, parent); + getPhysicalTag(1, gePhysicals, newPhysTags[3]); elements[9][elementary].push_back(p2); assignPhysicals(GM, gePhysicals, elementary, 3, physicals, newPhysTags[3], 1); } @@ -1208,6 +1209,7 @@ static void elementCutMesh(MElement *e, std::vector<gLevelset *> &RPN, p2 = new MPolygonBorder(poly[1], n, ePart, own, parent, copy->getDomain(0), copy->getDomain(1)); else p2 = new MPolygon(poly[1], n, ePart, own, parent); + getPhysicalTag(1, gePhysicals, newPhysTags[2]); elements[8][elementary].push_back(p2); assignPhysicals(GM, gePhysicals, elementary, 2, physicals, newPhysTags[2], 1); for(int i = 0; i < 2; i++) -- GitLab