Fork me on GitHub
 All Classes Files Functions Variables Groups Pages
diffusion.cu
#include <cusp/print.h>
int main(void)
{
// create a matrix for a diffusion problem on a 4x4 grid
cusp::gallery::diffusion<cusp::gallery::FD>(A, 4, 4);
// print matrix
return 0;
}