diff --git a/libsrc/meshing/bisect.cpp b/libsrc/meshing/bisect.cpp index 1a835a83..02fceb22 100644 --- a/libsrc/meshing/bisect.cpp +++ b/libsrc/meshing/bisect.cpp @@ -3,6 +3,9 @@ #include "bisect.hpp" #include "validate.hpp" +#include "meshing.hpp" // quickfix for parallel + + #define noDEBUG @@ -2792,6 +2795,20 @@ namespace netgen int np = mesh.GetNV(); mesh.SetNP(np); + +#ifdef PARALLEL + if (mesh.GetCommunicator().Size() > 1) + { + mesh.GetParallelTopology().IdentifyVerticesAfterRefinement(); + mesh.GetCommunicator().Barrier(); + mesh.GetParallelTopology().EnumeratePointsGlobally(); + } +#endif + + + + + // int ne = mesh.GetNE(); // int nse = mesh.GetNSE(); // int i, j, l; diff --git a/libsrc/occ/python_occ_shapes.cpp b/libsrc/occ/python_occ_shapes.cpp index 8d728873..967bbba9 100644 --- a/libsrc/occ/python_occ_shapes.cpp +++ b/libsrc/occ/python_occ_shapes.cpp @@ -780,7 +780,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) PropagateProperties(builder, shape, occ2ng(trafo)); return builder.Shape(); }, py::arg("axes"), - "copy shape, and mirror over plane defined by 'axes'") + "copy shape, and mirror over XY - plane defined by 'axes'") .def("Mirror", [] (const TopoDS_Shape & shape, const gp_Ax1 & ax) { @@ -790,7 +790,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m) PropagateProperties(builder, shape, occ2ng(trafo)); return builder.Shape(); }, py::arg("axes"), - "copy shape, and mirror around axis 'axis'") + "copy shape, and rotate by 180 deg around axis 'axis'") .def("Scale", [](const TopoDS_Shape & shape, const gp_Pnt p, double s) {