Class FV_anisotropic_AMatrix

Inheritance Relationships

Base Type

Class Documentation

class FV_anisotropic_AMatrix : public AMatrix

Public Functions

FV_anisotropic_AMatrix(puma::Matrix<std::vector<double>> *E_Matrix, puma::Matrix<std::vector<double>> *flux_Matrix, std::vector<long> startend, std::string sideBC, 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)
bool computeQuadrantFluxes(puma::Matrix<double> *x)