Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_SpMV.H File Reference
#include <AMReX_Config.H>
#include <AMReX_AlgVector.H>
#include <AMReX_AlgVecUtil.H>
#include <AMReX_GpuComplex.H>
#include <AMReX_SpMatrix.H>

Go to the source code of this file.

Namespaces

namespace  amrex
 

Functions

template<typename T >
void amrex::SpMV (Long nrows, Long ncols, T *__restrict__ py, CsrView< T const > const &A, T const *__restrict__ px)
 
template<typename T , template< typename > class AllocM, typename AllocV >
void amrex::SpMV (AlgVector< T, AllocV > &y, SpMatrix< T, AllocM > const &A, AlgVector< T, AllocV > const &x)
 
template<typename T , template< typename > class AllocM, typename AllocV >
void amrex::computeResidual (AlgVector< T, AllocV > &res, SpMatrix< T, AllocM > const &A, AlgVector< T, AllocV > const &x, AlgVector< T, AllocV > const &b)
 res = b - A*x