simd-mapping also for 2D

This commit is contained in:
Joachim Schöberl
2016-07-11 18:27:44 +02:00
parent e1f7a5f5f2
commit 423c4c6ac5
6 changed files with 229 additions and 108 deletions

View File

@@ -617,6 +617,12 @@ namespace netgen
__m256d * x, size_t sx,
__m256d * dxdxi, size_t sdxdxi) const
{
mesh->GetCurvedElements().CalcMultiPointSurfaceTransformation<2>
(elnr, npts,
reinterpret_cast<const SIMD<double>*> (xi), sxi,
reinterpret_cast<SIMD<double>*> (x), sx,
reinterpret_cast<SIMD<double>*> (dxdxi), sdxdxi);
/*
for (int i = 0; i < npts; i++)
{
double hxi[4][2];
@@ -637,6 +643,7 @@ namespace netgen
x += sx;
dxdxi += sdxdxi;
}
*/
}
template<> DLL_HEADER void Ngx_Mesh ::