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

Go to the source code of this file.

Namespaces

namespace  amrex
 

Functions

template<typename T , template< typename > class V>
CSR< T, V > amrex::transpose (CSR< T, V > const &csr, Long ncols)
 Build the transpose CSR of csr.
 
template<typename T , template< typename > class Allocator>
SpMatrix< T, Allocator > amrex::transpose (SpMatrix< T, Allocator > const &A, AlgPartition col_partition)
 Transpose a distributed SpMatrix, producing a new matrix with column partition col_partition.
 

Detailed Description

Utility helpers for sparse matrices (CSR transpose, etc.).