patricknharris / cusp-library

Automatically exported from code.google.com/p/cusp-library
Apache License 2.0
0 stars 0 forks source link

Does the algebraic multigrid preconditioner support cusp::complex? #103

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I was trying to using the AMG preconditioner for a complex matrix like 
this:

cusp::precond::smoothed_aggregation<int, FLOATEX, MemoryType> M(A);

I got a complier error:
C:\Program Files\NVIDIA GPU Computing 
Toolkit\CUDA\v5.0\include\cusp/detail/host/conversion.h(399): error : no 
suitable conversion function from "const cusp::complex<double>" to "const 
ValueType" exists

Does anyone have a clue how to make the AMG preconditioner suitable for a 
complex matrix?

Thanks very much.

Original issue reported on code.google.com by XiongZub...@gmail.com on 1 Nov 2012 at 5:17