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

#include <SlapEquationSolver.h>

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

Public Member Functions

 SlapEquationSolver (Oges &oges_)
 
virtual ~SlapEquationSolver ()
 
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
 
int ndiwk
 
IntegerArray iwk
 
int ndwk
 
RealArray wk
 
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
 

Constructor & Destructor Documentation

SlapEquationSolver::SlapEquationSolver ( Oges oges_)

References EquationSolver::name, and solverJob.

SlapEquationSolver::~SlapEquationSolver ( )
virtual

Member Function Documentation

int SlapEquationSolver::allocateWorkSpace ( )
protected
real SlapEquationSolver::sizeOf ( FILE *  file = NULL)
virtual

Reimplemented from EquationSolver.

References iwk, and wk.

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

Member Data Documentation

real SlapEquationSolver::fillinRatio
protected
IntegerArray SlapEquationSolver::iwk
protected

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

int SlapEquationSolver::ndiwk
protected

Referenced by allocateWorkSpace(), and solve().

int SlapEquationSolver::ndwk
protected

Referenced by allocateWorkSpace(), and solve().

int SlapEquationSolver::solverJob
protected

Referenced by SlapEquationSolver(), and solve().

RealArray SlapEquationSolver::wk
protected

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


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