NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Namespaces | Functions
utilities.hpp File Reference
#include "NeoN/core/primitives/scalar.hpp"
#include "NeoN/core/primitives/vec3.hpp"
#include "NeoN/core/vector/vector.hpp"
#include "NeoN/linearAlgebra/CSRMatrix.hpp"

Go to the source code of this file.

Namespaces

namespace  NeoN
 
namespace  NeoN::la
 

Functions

Vector< localIdxNeoN::la::unpackColIdx (const Vector< localIdx > &in, const Vector< localIdx > &unpackedRowOffs, const Vector< localIdx > &packedRowOffs)
 
Vector< localIdxNeoN::la::unpackRowOffs (const Vector< localIdx > &in)
 
Vector< scalarNeoN::la::unpackVecValues (const Vector< Vec3 > &in)
 
void NeoN::la::packVecValues (const Vector< scalar > &in, Vector< Vec3 > &out)
 
Vector< scalarNeoN::la::unpackMtxValues (const Vector< Vec3 > &in, const Vector< localIdx > &rowOffs, const Vector< localIdx > &newRowOffs)
 
void NeoN::la::computeResidual (const CSRMatrix< scalar, localIdx > &mtx, const Vector< scalar > &b, const Vector< scalar > &x, Vector< scalar > &res)