NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
Classes | Functions
NeoN::la Namespace Reference

Classes

class  CSRMatrix
 Sparse matrix class with compact storage by row (CSR) format. More...
 
struct  CSRMatrixView
 A view struct to allow easy read/write on all executors. More...
 
class  LinearSystem
 A class representing a linear system of equations. More...
 
struct  LinearSystemView
 A view linear into a linear system's data. More...
 
class  Solver
 
class  SolverFactory
 

Functions

template<typename ValueType , typename IndexType >
Vector< ValueType > spmv (LinearSystem< ValueType, IndexType > &ls, Vector< ValueType > &xfield)
 
template<typename ValueTypeIn , typename IndexTypeIn , typename ValueTypeOut , typename IndexTypeOut >
LinearSystem< ValueTypeOut, IndexTypeOut > convertLinearSystem (const LinearSystem< ValueTypeIn, IndexTypeIn > &ls)
 
template<typename ValueType , typename IndexType , typename SparsityType >
LinearSystem< ValueType, IndexType > createEmptyLinearSystem (const SparsityType &sparsity)
 

Function Documentation

◆ convertLinearSystem()

template<typename ValueTypeIn , typename IndexTypeIn , typename ValueTypeOut , typename IndexTypeOut >
LinearSystem< ValueTypeOut, IndexTypeOut > NeoN::la::convertLinearSystem ( const LinearSystem< ValueTypeIn, IndexTypeIn > &  ls)

Definition at line 132 of file linearSystem.hpp.

◆ createEmptyLinearSystem()

template<typename ValueType , typename IndexType , typename SparsityType >
LinearSystem< ValueType, IndexType > NeoN::la::createEmptyLinearSystem ( const SparsityType &  sparsity)

Definition at line 147 of file linearSystem.hpp.

◆ spmv()

template<typename ValueType , typename IndexType >
Vector< ValueType > NeoN::la::spmv ( LinearSystem< ValueType, IndexType > &  ls,
Vector< ValueType > &  xfield 
)

Definition at line 102 of file linearSystem.hpp.