#include <ilsi.h>
Public Member Functions | |
virtual | ~ILSI_Comm () |
Iterative Linear Solver Interface. | |
virtual void | matrixVectorProduct (const double *src, double *dest)=0 |
Compute dest = A src, where A is the square matrix. | |
virtual double | dotProduct (const double *a, const double *b)=0 |
Do a global dot product of these two vectors. |
Definition at line 33 of file ilsi.h.
ILSI_Comm::~ILSI_Comm | ( | ) | [virtual] |
Iterative Linear Solver Interface.
Orion Sky Lawlor, olawlor@acm.org, 1/16/2003
virtual void ILSI_Comm::matrixVectorProduct | ( | const double * | src, | |
double * | dest | |||
) | [pure virtual] |
Compute dest = A src, where A is the square matrix.
This product must take into account values from other chunks, as well as this one. This is a collective call. It is not valid for src to equal dest.
Implemented in IFEM_Solve_shared_comm, and serial_comm.
Referenced by cgSolver::cgSolver(), and cgSolver::iterate().
virtual double ILSI_Comm::dotProduct | ( | const double * | a, | |
const double * | b | |||
) | [pure virtual] |
Do a global dot product of these two vectors.
This dot product must take into account values from other processors. It is valid for a to equal b. All chunks are guaranteed to get the same return value.
Implemented in IFEM_Solve_shared_comm, and serial_comm.
Referenced by cgSolver::cgSolver(), and cgSolver::iterate().