replace __SSE__ with NETGEN_HAVE_SIMD

This commit is contained in:
Matthias Hochsteger 2020-12-09 09:37:10 +01:00
parent 79a9453ce8
commit 50f3ca429c
2 changed files with 3 additions and 3 deletions

View File

@ -1003,7 +1003,7 @@ namespace netgen
}
#endif
#endif // NETGEN_HAVE_SIMD

View File

@ -101,7 +101,7 @@ namespace netgen
return res;
}
#ifdef __SSE__
#ifdef NETGEN_HAVE_SIMD
virtual bool GetMultiSurfValue (size_t selnr, size_t facetnr, size_t npts,
const ngsimd::tAVXd * xref,
const ngsimd::tAVXd * x,
@ -111,7 +111,7 @@ namespace netgen
cerr << "GetMultiSurfVaue not overloaded for SIMD<double>" << endl;
return false;
}
#endif
#endif // NETGEN_HAVE_SIMD
virtual bool GetSegmentValue (int segnr, double xref, double * values)
{ return false; }