NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
linearSystem.hpp File Reference
#include "NeoN/core/vector/vector.hpp"
#include "NeoN/core/dictionary.hpp"
#include "NeoN/core/copyTo.hpp"
#include "NeoN/linearAlgebra/matrix.hpp"
#include "NeoN/linearAlgebra/cooSparsityPattern.hpp"
#include "NeoN/linearAlgebra/csrSparsityPattern.hpp"
#include "NeoN/linearAlgebra/meshIterationStrategies.hpp"
#include "NeoN/linearAlgebra/faceToMatrixAddress.hpp"
#include <string>
#include <algorithm>
#include <numeric>
#include <vector>

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).