Hi Kurt,
Can you supply the datatypes and function call from where you are calling the Vcopy routine? On the face of things, it would seem that the Vmath declaration is okay, unless I'm missing something obvious.
Cheers,
Dave
> ______________________________
> On 21 Mar 2017, at 19:17, Kurt Sansom <kayarre@gmail.com> wrote:
>
> I am trying to implement Vcopy for complex data type. What I started with was adding this line to Vmath.cpp in the template section.
>
> line 1082
>
> template LIB_UTILITIES_EXPORT void Vcopy( int n, const std::complex<Nektar::NekDouble> *x, const int incx, std::complex<Nektar:: NekDouble> *y, const int incy);
>
> but that seems to be insufficient because it compiles but gives the following error:
>
> dyld: Symbol not found: __ZN5Vmath5VcopyINSt3__17complexIdEEEEviPKT_iPS4_i
>
>
> I started looking at how the coefficients are handled in the FFT section, but It wasn't directly clear what the best approach to copying an array of complex numbers would be?
>
> Regards,
> ~Kurt
>
> --
> Kurt Sansom
> Research Assistant
> Cardiovascular and Multiphase Flow Lab
> University of Washington
_________________
> Nektar-users mailing list
> Nektar-users@imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users