|
NeoN
A framework for CFD software
|
#include "NeoN/core/primitives/scalar.hpp"#include "NeoN/core/primitives/vec3.hpp"#include "NeoN/core/vector/vector.hpp"#include "NeoN/linearAlgebra/matrix.hpp"Go to the source code of this file.
Namespaces | |
| namespace | NeoN |
| Integer types used throughout NeoN. | |
| namespace | NeoN::la |
Functions | |
| Vector< localIdx > | NeoN::la::unpackColIdx (const Vector< localIdx > &in, const Vector< localIdx > &unpackedRowOffs, const Vector< localIdx > &packedRowOffs) |
| Vector< localIdx > | NeoN::la::unpackRowOffs (const Vector< localIdx > &in) |
| Vector< scalar > | NeoN::la::unpackVecValues (const Vector< Vec3 > &in) |
| void | NeoN::la::packVecValues (const Vector< scalar > &in, Vector< Vec3 > &out) |
| Vector< scalar > | NeoN::la::unpackMtxValues (const Vector< Vec3 > &in, const Vector< localIdx > &rowOffs, const Vector< localIdx > &newRowOffs) |
| template<typename MatrixType , typename ValueType = scalar> | |
| void | NeoN::la::computeResidual (const MatrixType &mtx, const Vector< ValueType > &b, const Vector< ValueType > &x, Vector< ValueType > &res) |
| given a linear system consisting of A, b and x the operator computes the residual vector Ax-b | |
| template<typename IndexType > | |
| Vector< IndexType > | NeoN::la::rowsToRowOffs (const Vector< IndexType > &rows) |
| given a set off row idx this function converts to rowOffsets | |