59 for (
int i = 1; i <= nrhs; ++i ) {
62 status = this->
solve(A, bi, xi);
int giveNumberOfColumns() const
Returns number of columns of receiver.
virtual NM_Status solve(SparseMtrx &A, FloatArray &b, FloatArray &x)=0
Solves the given sparse linear system of equations .
Base class for all matrices stored in sparse format.
This base class is an abstraction for numerical algorithm.
unsigned long NM_Status
Mask defining NumMetod Status; which can be asked after finishing computation by Numerical Method...
#define NM_NoSuccess
Numerical method failed to solve problem.
SparseLinearSystemNM(Domain *d, EngngModel *m)
Constructor.
int giveNumberOfRows() const
Returns number of rows of receiver.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual ~SparseLinearSystemNM()
Destructor.
void copyColumn(FloatArray &dest, int c) const
Fetches the values from the specified column.
void setColumn(const FloatArray &src, int c)
Sets the values of the matrix in specified column.
Abstract base class representing the "problem" under consideration.
the oofem namespace is to define a context or scope in which all oofem names are defined.
int giveNumberOfRows() const
Returns number of rows of receiver.