mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
circumventing compiler bug ?
This commit is contained in:
parent
d53f28c89b
commit
3ece315bd0
@ -1432,7 +1432,7 @@ namespace netgen
|
|||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void CurvedElements ::
|
void CurvedElements ::
|
||||||
CalcSegmentTransformation (T xi, SegmentIndex elnr,
|
CalcSegmentTransformation (const T & xi, SegmentIndex elnr,
|
||||||
Point<3,T> * x, Vec<3,T> * dxdxi, bool * curved)
|
Point<3,T> * x, Vec<3,T> * dxdxi, bool * curved)
|
||||||
{
|
{
|
||||||
if (mesh.coarsemesh)
|
if (mesh.coarsemesh)
|
||||||
@ -4033,7 +4033,7 @@ namespace netgen
|
|||||||
SIMD<double> * dxdxi, size_t sdxdxi);
|
SIMD<double> * dxdxi, size_t sdxdxi);
|
||||||
|
|
||||||
template void CurvedElements ::
|
template void CurvedElements ::
|
||||||
CalcSegmentTransformation<double> (double xi, SegmentIndex elnr,
|
CalcSegmentTransformation<double> (const double & xi, SegmentIndex elnr,
|
||||||
Point<3,double> * x, Vec<3,double> * dxdxi, bool * curved);
|
Point<3,double> * x, Vec<3,double> * dxdxi, bool * curved);
|
||||||
|
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void CalcSegmentTransformation (T xi, SegmentIndex segnr,
|
void CalcSegmentTransformation (const T & xi, SegmentIndex segnr,
|
||||||
Point<3,T> * x = NULL, Vec<3,T> * dxdxi = NULL, bool * curved = NULL);
|
Point<3,T> * x = NULL, Vec<3,T> * dxdxi = NULL, bool * curved = NULL);
|
||||||
|
|
||||||
void CalcSurfaceTransformation (Point<2> xi, SurfaceElementIndex elnr,
|
void CalcSurfaceTransformation (Point<2> xi, SurfaceElementIndex elnr,
|
||||||
|
Loading…
Reference in New Issue
Block a user