Class AMatrix

Inheritance Relationships

Derived Types

Class Documentation

class AMatrix

An abstract class representing a linear system.

Subclassed by ArtificialFlux_AMatrix, EJ_AMatrix, FV_AMatrix, FV_anisotropic_AMatrix

Public Functions

virtual bool A_times_X(puma::Matrix<double> *x, puma::Matrix<double> *r) = 0

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) = 0