Skip to content

Commit

Permalink
cmake?
Browse files Browse the repository at this point in the history
  • Loading branch information
henrij22 committed Jun 11, 2024
1 parent 110ca84 commit cc1f42f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dune.module
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Module: dune-iga
Version: 0.1.7
Maintainer: [email protected]

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
Original file line number Diff line number Diff line change
Expand Up @@ -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<double, 2>{findGoodStartingPoint(curvePatchGeo, ip), lineGuess};
Expand Down

0 comments on commit cc1f42f

Please sign in to comment.