NeoN
A framework for CFD software
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
 
struct  SolverStats
 

Functions

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)
 
void computeResidual (const CSRMatrix< scalar, localIdx > &mtx, const Vector< scalar > &b, const Vector< scalar > &x, Vector< scalar > &res)
 

Function Documentation

◆ computeResidual()

void NeoN::la::computeResidual ( const CSRMatrix< scalar, localIdx > &  mtx,
const Vector< scalar > &  b,
const Vector< scalar > &  x,
Vector< scalar > &  res 
)

◆ convertLinearSystem()

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

Definition at line 103 of file linearSystem.hpp.

◆ createEmptyLinearSystem()

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

Definition at line 118 of file linearSystem.hpp.