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

#include <YaleEquationSolver.h>

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

Public Member Functions

 YaleEquationSolver (Oges &oges_)
 
virtual ~YaleEquationSolver ()
 
virtual int solve (realCompositeGridFunction &u, realCompositeGridFunction &f)
 
virtual real sizeOf (FILE *file=NULL)
 
virtual int printStatistics (FILE *file=stdout) const
 
- 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 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

IntegerArray perm
 
IntegerArray iperm
 
int nsp
 
RealArray rsp
 
int solverJob
 
int yaleExcessWorkSpace
 
real fillinRatio
 
- 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
 

Static Protected Attributes

static real timeForBuild =0.
 
static real timeForSolve =0.
 
static real timeForTransfer =0.
 

Constructor & Destructor Documentation

YaleEquationSolver::YaleEquationSolver ( Oges oges_)

References EquationSolver::name, and solverJob.

YaleEquationSolver::~YaleEquationSolver ( )
virtual

Member Function Documentation

int YaleEquationSolver::allocateWorkSpace ( )
protected
int YaleEquationSolver::printStatistics ( FILE *  file = stdout) const
virtual

Reimplemented from EquationSolver.

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

Reimplemented from EquationSolver.

References iperm, perm, and rsp.

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

Member Data Documentation

real YaleEquationSolver::fillinRatio
protected

Referenced by allocateWorkSpace(), and solve().

IntegerArray YaleEquationSolver::iperm
protected

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

int YaleEquationSolver::nsp
protected

Referenced by allocateWorkSpace(), and solve().

IntegerArray YaleEquationSolver::perm
protected

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

RealArray YaleEquationSolver::rsp
protected

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

int YaleEquationSolver::solverJob
protected

Referenced by solve(), and YaleEquationSolver().

real YaleEquationSolver::timeForBuild =0.
staticprotected

Referenced by solve().

real YaleEquationSolver::timeForSolve =0.
staticprotected

Referenced by solve().

real YaleEquationSolver::timeForTransfer =0.
staticprotected

Referenced by solve().

int YaleEquationSolver::yaleExcessWorkSpace
protected

Referenced by solve().


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