Class FV_AMatrix

Inheritance Relationships

Base Type

Class Documentation

class FV_AMatrix : public AMatrix

Public Functions

FV_AMatrix(puma::Matrix<double> *kMat, std::vector<FV_BoundaryCondition*> *bcs, int numThreads)
virtual bool A_times_X(puma::Matrix<double> *x, puma::Matrix<double> *r) override

multiplies the linear system by a vector.

Parameters
  • x – a pointer to a puma matrix that is multiplied by the linear system.

  • r – a pointer to a puma matrix where the solution is stored.

Returns

virtual bool Minv_times_X(puma::Matrix<double> *x, puma::Matrix<double> *r) override
puma::Vec3<double> computeFluxes(puma::Matrix<double> *x, char dir)