Commit 84845e89 authored by Christophe Geuzaine's avatar Christophe Geuzaine

fix hxt ifdef (same issue as !116, slightly different fix)

parent b47322b0
Pipeline #1640 passed with stage
in 72 minutes and 49 seconds
......@@ -648,11 +648,11 @@ static void splitInternalEdges(std::vector<MEdge> &e, int ITH,
fclose(f);
}
#ifdef HAVE_HXT
GPoint discreteFace::intersectionWithCircle(const SVector3 &n1, const SVector3 &n2,
const SVector3 &p, const double &R,
double uv[2])
{
#ifdef HAVE_HXT
MTriangle *t2d = (MTriangle*)_parametrizations[_current_parametrization].oct->find
(uv[0], uv[1], 0.0);
MTriangle *t3d = NULL;
......@@ -758,12 +758,15 @@ GPoint discreteFace::intersectionWithCircle(const SVector3 &n1, const SVector3 &
}
}
}
#endif
GPoint pp(0);
pp.setNoSuccess();
Msg::Debug("ARGG no success intersection circle");
return pp;
}
#ifdef HAVE_HXT
static void existingEdges (GFace *gf, std::map<MEdge, GEdge*, Less_Edge> &edges)
{
std::list<GEdge*> e = gf->edges();
......@@ -1099,7 +1102,7 @@ HXTStatus discreteFace::reparametrize_through_hxt()
double *crossField,*nodalCurvatures;
HXT_CHECK(hxtEdgesCreate(m,&edges));
HXT_CHECK(hxtCurvatureRusinkiewicz (m, &nodalCurvatures, &crossField, edges, true));
_parametrizations.resize(nc);
std::vector<std::vector<MEdge> > boundaries (nc);
std::vector<std::vector<MEdge> > internals (nc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment