|
NeoN
A framework for CFD software
|
row and column index representation of a mesh More...
#include <cooSparsityPattern.hpp>
Public Types | |
| using | SparsityIndexType = IndexType |
Public Member Functions | |
| CooSparsityPattern (const CooSparsityPattern &sp) | |
| create an "empty" SparsityPattern with a given size | |
| CooSparsityPattern (Vector< IndexType > &&colIdx, Vector< IndexType > &&rowIdxs, Dimensions dim) | |
| CooSparsityPattern | copyToExecutor (Executor dstExec) const override |
| ~CooSparsityPattern ()=default | |
| const Executor & | exec () const |
| getter for executor | |
| const Vector< IndexType > & | colIdxs () const |
| const getter for colIdxs | |
| Vector< IndexType > & | colIdxs () |
| getter for colIdxs | |
| const Vector< IndexType > & | rowIdxs () const |
| returns the COO per-entry row indices (one per nnz) | |
| Vector< IndexType > & | rowIdxs () |
| returns the non-const COO per-entry row indices (one per nnz) | |
| const Vector< IndexType > & | rowOffs () const |
| returns the COO per-entry row indices (one per nnz) | |
| Vector< IndexType > & | rowOffs () |
| returns the non-const COO per-entry row indices (one per nnz) | |
| localIdx | rows () const |
| localIdx | nnz () const |
| Dimensions | dimension () const |
| SparsityView< IndexType > | view () const |
| Get a view representation of the matrix's data. | |
Public Member Functions inherited from NeoN::SupportsCopyTo< CooSparsityPattern< IndexType > > | |
| virtual | ~SupportsCopyTo ()=default |
| CooSparsityPattern< IndexType > | copyToHost () const |
row and column index representation of a mesh
This class implements the finite volume 3/5/7 pt stencil specific generation of sparsity patterns from a given unstructured mesh
Definition at line 23 of file cooSparsityPattern.hpp.
| using NeoN::la::CooSparsityPattern< IndexType >::SparsityIndexType = IndexType |
Definition at line 30 of file cooSparsityPattern.hpp.
| NeoN::la::CooSparsityPattern< IndexType >::CooSparsityPattern | ( | const CooSparsityPattern< IndexType > & | sp | ) |
create an "empty" SparsityPattern with a given size
| NeoN::la::CooSparsityPattern< IndexType >::CooSparsityPattern | ( | Vector< IndexType > && | colIdx, |
| Vector< IndexType > && | rowIdxs, | ||
| Dimensions | dim | ||
| ) |
|
default |
|
inline |
getter for colIdxs
Definition at line 53 of file cooSparsityPattern.hpp.
|
inline |
const getter for colIdxs
Definition at line 50 of file cooSparsityPattern.hpp.
|
inlineoverridevirtual |
Implements NeoN::SupportsCopyTo< CooSparsityPattern< IndexType > >.
Definition at line 37 of file cooSparsityPattern.hpp.
|
inline |
Definition at line 71 of file cooSparsityPattern.hpp.
|
inline |
getter for executor
Definition at line 47 of file cooSparsityPattern.hpp.
|
inline |
Definition at line 69 of file cooSparsityPattern.hpp.
|
inline |
returns the non-const COO per-entry row indices (one per nnz)
Definition at line 59 of file cooSparsityPattern.hpp.
|
inline |
returns the COO per-entry row indices (one per nnz)
Definition at line 56 of file cooSparsityPattern.hpp.
|
inline |
returns the non-const COO per-entry row indices (one per nnz)
Definition at line 65 of file cooSparsityPattern.hpp.
|
inline |
returns the COO per-entry row indices (one per nnz)
Definition at line 62 of file cooSparsityPattern.hpp.
|
inline |
Definition at line 67 of file cooSparsityPattern.hpp.
|
inline |
Get a view representation of the matrix's data.
Definition at line 77 of file cooSparsityPattern.hpp.