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

CG Class Reference

#include <cg.hpp>

Collaboration diagram for CG:

Collaboration graph
[legend]
List of all members.

Public Types

enum  CGERRNO {
  CGERR_NONE = 0, CGERR_NULLOP, CGERR_LISTSZERR, CGERR_BADITERNUM,
  CGERR_CONVERGE, CGERR_SOLVE
}

Public Member Functions

 CG (CGType itype, GBOOL isNested=FALSE)
 CG (GElemList *e, GLinOpList *A, GLinOpList *ROP, GVecList *x, GVecList *b, GS *comm, CGType itype=CG_STANDARD, GBOOL isNested=FALSE)
 ~CG ()
 CG (const CG &a)
void operator= (const CG &)
void operator() (GElemList *e, GLinOpList *A, GLinOpList *ROP, GVecList *x, GVecList *b, GS *c)
void Quiet (GBOOL b)
void SetNoDSS (GVecList *rb)
void SetTolerance (GDOUBLE)
void SetMaxIterations (GINT)
void SetResidualChkNum (GINT)
void SetSolveType (CGType)
void SetPreconditioner (GLinOpList *op)
void SetComm (GS *op)
GCHandle InitComm (GDWBuffer *n, GINT nTotal)
GCHandle SetCommHandle (GCHandle hIn=NULL)
GCHandle SetIntermedCommHandle (GCHandle hIn)
void SetIntermedMask (GLinOpList *in)
void SetBdyValues (GVecList *bdy_vals)
void SetElems (GElemList *gelems)
GDOUBLE GetTolerance ()
GINT GetMaxIterations ()
GINT GetResidualChkNum ()
GINT GetNumIterations ()
GDOUBLE GetError ()
GDOUBLE GetMinError ()
GDOUBLE GetMaxError ()
GVector * GetEucResidualHistory ()
GVector * GetL2ResidualHistory ()
GINT ErrNo ()
char * ErrString ()
GVecList & GetBdyValues ()
GBOOL SolveCG ()

Member Enumeration Documentation

enum CG::CGERRNO
 

Enumerator:
CGERR_NONE 
CGERR_NULLOP 
CGERR_LISTSZERR 
CGERR_BADITERNUM 
CGERR_CONVERGE 
CGERR_SOLVE 


Constructor & Destructor Documentation

CG::CG CGType  itype,
GBOOL  isNested = FALSE
 

CG::CG GElemList e,
GLinOpList A,
GLinOpList ROP,
GVecList *  x,
GVecList *  b,
GS comm,
CGType  itype = CG_STANDARD,
GBOOL  isNested = FALSE
 

CG::~CG  ) 
 

CG::CG const CG a  ) 
 


Member Function Documentation

GINT CG::ErrNo  ) 
 

char * CG::ErrString  ) 
 

GVecList & CG::GetBdyValues  ) 
 

GDOUBLE CG::GetError  ) 
 

GVector * CG::GetEucResidualHistory  ) 
 

GVector * CG::GetL2ResidualHistory  ) 
 

GDOUBLE CG::GetMaxError  ) 
 

GINT CG::GetMaxIterations  ) 
 

GDOUBLE CG::GetMinError  ) 
 

GINT CG::GetNumIterations  ) 
 

GINT CG::GetResidualChkNum  ) 
 

GDOUBLE CG::GetTolerance  ) 
 

GCHandle CG::InitComm GDWBuffer *  n,
GINT  nTotal
 

void CG::operator() GElemList e,
GLinOpList A,
GLinOpList ROP,
GVecList *  x,
GVecList *  b,
GS c
 

void CG::operator= const CG  ) 
 

void CG::Quiet GBOOL  b  ) 
 

void CG::SetBdyValues GVecList *  bdy_vals  ) 
 

void CG::SetComm GS op  ) 
 

GCHandle CG::SetCommHandle GCHandle  hIn = NULL  ) 
 

void CG::SetElems GElemList gelems  ) 
 

GCHandle CG::SetIntermedCommHandle GCHandle  hIn  ) 
 

void CG::SetIntermedMask GLinOpList in  ) 
 

void CG::SetMaxIterations GINT   ) 
 

void CG::SetNoDSS GVecList *  rb  ) 
 

void CG::SetPreconditioner GLinOpList op  ) 
 

void CG::SetResidualChkNum GINT   ) 
 

void CG::SetSolveType CGType   ) 
 

void CG::SetTolerance GDOUBLE   ) 
 

GBOOL CG::SolveCG  ) 
 


The documentation for this class was generated from the following files:
Generated on Wed Dec 21 16:03:16 2005 for Geophysics & Astrophysics Spectral Element Adaptive Refinement (GASpAR) 2D Code by  doxygen 1.4.4