Overture  Version 25
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HarwellEquationSolver Class Reference

#include <HarwellEquationSolver.h>

Inheritance diagram for HarwellEquationSolver:
Inheritance graph
[legend]
Collaboration diagram for HarwellEquationSolver:
Collaboration graph
[legend]

Public Member Functions

 HarwellEquationSolver (Oges &oges_)
 
virtual ~HarwellEquationSolver ()
 
virtual int solve (realCompositeGridFunction &u, realCompositeGridFunction &f)
 
virtual real sizeOf (FILE *file=NULL)
 
- Public Member Functions inherited from EquationSolver
 EquationSolver (Oges &oges_)
 
virtual ~EquationSolver ()
 
virtual int saveBinaryMatrix (aString filename00, realCompositeGridFunction &u, realCompositeGridFunction &f)
 
virtual int setCoefficientsAndBoundaryConditions (realCompositeGridFunction &coeff, const IntegerArray &boundaryConditions, const RealArray &bcData)
 
virtual int setCoefficientArray (realCompositeGridFunction &coeff, const IntegerArray &boundaryConditions=Overture::nullIntArray(), const RealArray &bcData=Overture::nullRealArray())
 
virtual int setEquationAndBoundaryConditions (OgesParameters::EquationEnum equation, CompositeGridOperators &op, const IntegerArray &boundaryConditions, const RealArray &bcData, RealArray &constantCoeff=Overture::nullRealArray(), realCompositeGridFunction *variableCoeff=NULL)
 
virtual int setGrid (CompositeGrid &cg)
 
virtual int set (MultigridCompositeGrid &mgcg)
 
const aStringgetName () const
 
virtual real getMaximumResidual ()
 
virtual int printStatistics (FILE *file=stdout) const
 
virtual int setExtraEquationValues (realCompositeGridFunction &f, real *value)
 
virtual int getExtraEquationValues (const realCompositeGridFunction &u, real *value)
 
virtual int evaluateExtraEquation (const realCompositeGridFunction &u, real &value, int extraEquation=0)
 
virtual int evaluateExtraEquation (const realCompositeGridFunction &u, real &value, real &sumOfExtraEquationCoefficients, int extraEquation=0)
 
virtual int allocateMatrix (int, int, int, int)
 
virtual int setMatrixElement (int, int, int, real)
 
virtual int displayMatrix ()
 

Protected Member Functions

int solve ()
 
int allocateWorkSpace ()
 

Protected Attributes

int solverJob
 
RealArray wh
 
IntegerArray ikeep
 
IntegerArray iwh
 
real fillinRatio
 
real fillinRatio2
 
- Protected Attributes inherited from EquationSolver
Ogesoges
 
OgesParametersparameters
 
aString name
 
int numberOfEquations
 
int numberOfNonzeros
 
real maximumResidual
 
int numberOfIterations
 
int solverMethod
 
int preconditioner
 
int matrixOrdering
 
int numberOfIncompleteLULevels
 
int gmresRestartLength
 

Constructor & Destructor Documentation

HarwellEquationSolver::HarwellEquationSolver ( Oges oges_)

References EquationSolver::name, and solverJob.

HarwellEquationSolver::~HarwellEquationSolver ( )
virtual

Member Function Documentation

int HarwellEquationSolver::allocateWorkSpace ( )
protected

References ikeep, iwh, EquationSolver::numberOfEquations, and wh.

Referenced by solve().

real HarwellEquationSolver::sizeOf ( FILE *  file = NULL)
virtual

Reimplemented from EquationSolver.

References ikeep, iwh, and wh.

int HarwellEquationSolver::solve ( realCompositeGridFunction u,
realCompositeGridFunction f 
)
virtual
int HarwellEquationSolver::solve ( )
protected

Member Data Documentation

real HarwellEquationSolver::fillinRatio
protected

Referenced by solve().

real HarwellEquationSolver::fillinRatio2
protected
IntegerArray HarwellEquationSolver::ikeep
protected

Referenced by allocateWorkSpace(), sizeOf(), and solve().

IntegerArray HarwellEquationSolver::iwh
protected

Referenced by allocateWorkSpace(), sizeOf(), and solve().

int HarwellEquationSolver::solverJob
protected

Referenced by HarwellEquationSolver(), and solve().

RealArray HarwellEquationSolver::wh
protected

Referenced by allocateWorkSpace(), sizeOf(), and solve().


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