From cc1f42ff9f538ed9935e5edb7b7b46fb0a3533ba Mon Sep 17 00:00:00 2001 From: Henrik Jakob Date: Tue, 11 Jun 2024 10:53:13 +0200 Subject: [PATCH] cmake? --- dune.module | 4 ++-- .../defaulttrimmer/trimmingutils/trimutils.hh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dune.module b/dune.module index 4f568812..04ef7946 100644 --- a/dune.module +++ b/dune.module @@ -6,6 +6,6 @@ Module: dune-iga Version: 0.1.7 Maintainer: mueller@ibb.uni-stuttgart.de -Depends: dune-grid dune-functions dune-alugrid +Depends: dune-grid dune-functions Suggests: dune-vtk dune-fufem -Python-Requires: geomdl numpy scipy mpi4py +Python-Requires: numpy scipy mpi4py diff --git a/dune/iga/parameterspace/defaulttrimmer/trimmingutils/trimutils.hh b/dune/iga/parameterspace/defaulttrimmer/trimmingutils/trimutils.hh index d462e2e2..0ad9aa1e 100644 --- a/dune/iga/parameterspace/defaulttrimmer/trimmingutils/trimutils.hh +++ b/dune/iga/parameterspace/defaulttrimmer/trimmingutils/trimutils.hh @@ -55,9 +55,9 @@ auto callFindIntersection(const auto& curvePatchGeo, int edgeIdx, const auto& ip double lineGuess = (edgeIdx == 0 or edgeIdx == 2) ? (ip.x - pos[0]) / dir[0] : (ip.y - pos[1]) / dir[1]; // Catch a trivial but difficult case - if (auto endPoint = curvePatchGeo.corner(1); approxSamePoint(ip, endPoint, 1e-8)) { - return std::make_pair(curvePatchGeo.domain()[0][1], endPoint); - } + // if (auto endPoint = curvePatchGeo.corner(1); approxSamePoint(ip, endPoint, 1e-8)) { + // return std::make_pair(curvePatchGeo.domain()[0][1], endPoint); + // } // Todo use z-Value to get a good starting point, not brute-force auto guessTParam = FieldVector{findGoodStartingPoint(curvePatchGeo, ip), lineGuess};