Rows owned by this rank in CSR form, columns sorted within each row and duplicates summed.
More...
#include <AMReX_CompositeSystemUtil.H>
Rows owned by this rank in CSR form, columns sorted within each row and duplicates summed.
◆ define()
Build from the triplets of this rank's rows (rows outside [row_begin, row_begin+nrows) are an error).
◆ nnz()
| Long amrex::composite::OwnedCSR::nnz |
( |
| ) |
const |
|
inlinenodiscard |
◆ toSpMatrix()
| void amrex::composite::OwnedCSR::toSpMatrix |
( |
SpMatrix< Real > & | mat, |
|
|
Vector< Long > const & | rank_offset ) const |
|
inline |
Define an SpMatrix (device memory in GPU builds) with this CSR.
◆ col_index
| Vector<Long> amrex::composite::OwnedCSR::col_index |
◆ nrows
| Long amrex::composite::OwnedCSR::nrows = 0 |
number of rows owned by this rank
◆ row_begin
| Long amrex::composite::OwnedCSR::row_begin = 0 |
first global row of this rank
◆ row_offset
| Vector<Long> amrex::composite::OwnedCSR::row_offset |
◆ values
The documentation for this struct was generated from the following file: