Class ArtificialFlux_AMatrix

Inheritance Relationships

Base Type

Class Documentation

class ArtificialFlux_AMatrix : public AMatrix

Public Functions

ArtificialFlux_AMatrix(puma::MatVec3<double> *q, 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

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