Discontinuous Galerkin Library
#include "dg/algorithm.h"
precond.h File Reference
#include <vector>

Go to the source code of this file.

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 
namespace  dg::create
 Contains functions used for matrix creation.
 

Functions

template<class T >
void dg::create::sainv_precond (const cusp::csr_matrix< int, T, cusp::host_memory > &a, cusp::csr_matrix< int, T, cusp::host_memory > &s, thrust::host_vector< T > &d, const thrust::host_vector< T > &weights, unsigned nnzmax, T threshold)
 Left looking sparse inverse preconditioner for self-adjoint positive definit matrices. More...