NeoN
A framework for CFD software
Loading...
Searching...
No Matches
linearSystem.hpp File Reference

Go to the source code of this file.

Classes

struct  NeoN::la::LinearSystemView< RHSValueType, MatrixViewType >
 A view linear into a linear system's data. More...
class  NeoN::la::LinearSystem< MatrixValueType, RHSValueType, SystemMatrixType, BoundaryMatrixType >
 A class representing a linear system of equations. More...

Namespaces

namespace  NeoN
 Integer types used throughout NeoN.
namespace  NeoN::la

Functions

template<typename ValueType, typename RHSValueType = ValueType, typename SystemMatrixType = CSRMatrix<ValueType, localIdx>, typename BoundaryMatrixType = COOMatrix<ValueType, localIdx>>
LinearSystem< ValueType, RHSValueType, SystemMatrixType, BoundaryMatrixType > NeoN::la::createEmptyLinearSystem (const UnstructuredMesh &mesh, std::shared_ptr< MeshIterationStrategy > strategy=std::make_shared< FaceBasedIterator >())
template<typename MatrixValueType, typename RHSValueType, typename SystemMatrixType, typename BoundaryMatrixType>
la::LinearSystem< MatrixValueType, RHSValueType, SystemMatrixType, BoundaryMatrixType > NeoN::la::removeBoundaryContributions (const la::LinearSystem< MatrixValueType, RHSValueType, SystemMatrixType, BoundaryMatrixType > &lsIn)
 for testing purposes, this function reverses boundary contributions previously applied to the matrix diagonal and RHS for some operators (e.g., div).