Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_SpGEMM.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Algorithm.H>
#include <AMReX_BLProfiler.H>
#include <AMReX_Exception.H>
#include <AMReX_GpuComplex.H>
#include <AMReX_OpenMP.H>
#include <AMReX_SpMatrix.H>
#include <algorithm>
#include <limits>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  amrex
 

Functions

template<typename T , template< typename > class Allocator, typename F >
SpMatrix< T, Allocator > amrex::SpGEMM (SpMatrix< T, Allocator > const &A, SpMatrix< T, Allocator > const &B, AlgPartition const &col_partition, F const &row_post)
 SpGEMM with a callback on each row of the product.
 
template<typename T , template< typename > class Allocator>
SpMatrix< T, Allocator > amrex::SpGEMM (SpMatrix< T, Allocator > const &A, SpMatrix< T, Allocator > const &B, AlgPartition const &col_partition)
 Sparse matrix-matrix multiplication, C = A * B.
 
template<typename T , template< typename > class Allocator>
SpMatrix< T, Allocator > amrex::RAP (SpMatrix< T, Allocator > const &R, SpMatrix< T, Allocator > const &A, SpMatrix< T, Allocator > const &P, AlgPartition const &col_partition)
 Galerkin product R (A P), with the result of SpGEMM(R, SpGEMM(A, P, col_partition), col_partition).