Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::CG Class Reference

This is just a template. Write documentation here. More...

#include <CG.h>

Inheritance diagram for dolfin::CG:

Inheritance graph
[legend]
Collaboration diagram for dolfin::CG:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CG (const Matrix &A, real tol, unsigned int maxiter)
 Create CG preconditioner/solver for a given matrix.

 ~CG ()
 Destructor.

void solve (Vector &x, const Vector &b)
 Solve linear system Ax = b for a given right-hand side b.


Static Public Member Functions

void solve (const Matrix &A, Vector &x, const Vector &b, real tol, unsigned int maxiter)
 Solve linear system Ax = b for a given right-hand side b.


Detailed Description

This is just a template. Write documentation here.


Constructor & Destructor Documentation

CG::CG (  const Matrix &  A,
real  tol,
unsigned int  maxiter
) 
 

Create CG preconditioner/solver for a given matrix.

CG::~CG (   ) 
 

Destructor.


Member Function Documentation

void CG::solve (  const Matrix &  A,
Vector &  x,
const Vector &  b,
real  tol,
unsigned int  maxiter
)  [static]
 

Solve linear system Ax = b for a given right-hand side b.

void CG::solve (  Vector &  x,
const Vector &  b
)  [virtual]
 

Solve linear system Ax = b for a given right-hand side b.

Implements dolfin::Preconditioner.


The documentation for this class was generated from the following files:


Documentation automatically generated with Doxygen on 10 Sep 2004.