Overture
Version 25
|
#include <OgesParameters.h>
Public Attributes | |
ListOfShowFileParameters | petscOptions |
Protected Member Functions | |
int | set (OptionEnum option, int value, real rvalue) |
int | get (OptionEnum option, int &value, real &rvalue) const |
Friends | |
class | Oges |
class | EquationSolver |
class | PETScEquationSolver |
class | YaleEquationSolver |
class | HarwellEquationSolver |
class | SlapEquationSolver |
class | Ogmg |
class | PETScSolver |
OgesParameters::OgesParameters | ( | ) |
References absoluteTolerance, blockJacobiPreconditioner, blockSize, compatibilityConstraint, defaultExternalSolver, externalSolver, fillinRatio, fillinRatio2, fixupRightHandSide, getSolverTypeName(), gmres, gmresRestartLength, harwellPivotingTolerance, incompleteLUDropTolerance, incompleteLUExpectedFill, incompleteLUPreconditioner, incompleteLUSparseACoefficient, incompleteLUSparseFCoefficient, incompleteLUTypeInDH, isAxisymmetric, iterativeImprovement, keepCoefficientGridFunction, keepSparseMatrix, matrixCutoff, matrixOrdering, maximumAllowableIncreaseInResidual, maximumInterpolationWidth, maximumNumberOfIterations, minimumNumberOfIterations, NULL, nullVectorScaling, numberOfIncompleteLULevels, ogmgParameters, orderOfExtrapolation, parallelExternalSolver, parallelPreconditioner, parallelSolverMethod, PETScNew, preconditionBoundary, preconditioner, preconditionRightHandSide, preonly, relativeTolerance, removeSolutionAndRHSVector, removeSparseMatrixFactorization, rescaleRowNorms, reverseCuthillMcKeeOrdering, solveForTranspose, solver, solverMethod, solverName, sorOmega, userSuppliedCompatibilityConstraint, yale, and zeroRatio.
OgesParameters::~OgesParameters | ( | ) |
References ogmgParameters.
OgmgParameters & OgesParameters::buildOgmgParameters | ( | ) |
References NULL, and ogmgParameters.
int OgesParameters::display | ( | FILE * | file = stdout | ) |
References absoluteTolerance, compatibilityConstraint, fillinRatio, fillinRatio2, fixupRightHandSide, getMatrixOrderingName(), getPreconditionerName(), getSolverMethodName(), getSolverName(), getSolverTypeName(), gmresRestartLength, harwellPivotingTolerance, iterativeImprovement, matrixCutoff, maximumAllowableIncreaseInResidual, maximumInterpolationWidth, maximumNumberOfIterations, minimumNumberOfIterations, nullVectorScaling, numberOfIncompleteLULevels, parallelPreconditioner, parallelSolverMethod, relativeTolerance, rescaleRowNorms, sorOmega, userSuppliedCompatibilityConstraint, and zeroRatio.
int OgesParameters::get | ( | OptionEnum | option, |
int & | value | ||
) | const |
int OgesParameters::get | ( | OptionEnum | option, |
real & | value | ||
) | const |
int OgesParameters::get | ( | const GenericDataBase & | dir, |
const aString & | name | ||
) |
|
protected |
References Overture::abort().
aString OgesParameters::getMatrixOrderingName | ( | MatrixOrderingEnum | matrixOrdering = defaultMatrixOrdering | ) | const |
References aString.
Referenced by display(), and getSolverName().
OgmgParameters * OgesParameters::getOgmgParameters | ( | ) | const |
References ogmgParameters.
Referenced by MultigridEquationSolver::setEquationAndBoundaryConditions(), MultigridEquationSolver::setGrid(), and MultigridEquationSolver::solve().
aString OgesParameters::getPreconditionerName | ( | PreconditionerEnum | preconditioner = defaultPreconditioner | ) | const |
References aString.
Referenced by display(), and getSolverName().
aString OgesParameters::getSolverMethodName | ( | SolverMethodEnum | solverMethod = defaultSolverMethod | ) | const |
References aString.
Referenced by display(), and getSolverName().
aString OgesParameters::getSolverName | ( | ) | const |
References aString, getMatrixOrderingName(), getPreconditionerName(), getSolverMethodName(), getSolverTypeName(), incompleteLUPreconditioner, numberOfIncompleteLULevels, parallelPreconditioner, parallelSolverMethod, PETSc, PETScNew, preconditioner, preonly, SLAP, solver, and sPrintF().
Referenced by Integrate::computeWeights(), display(), and update().
OgesParameters::SolverEnum OgesParameters::getSolverType | ( | ) | const |
References solver.
aString OgesParameters::getSolverTypeName | ( | SolverEnum | solverType = defaultSolver | ) | const |
References aString.
Referenced by Oges::buildEquationSolvers(), display(), getSolverName(), OgesParameters(), set(), and Oges::solve().
int OgesParameters::isAvailable | ( | SolverEnum | solverType | ) |
OgesParameters & OgesParameters::operator= | ( | const OgesParameters & | x | ) |
References absoluteTolerance, blockSize, compatibilityConstraint, externalSolver, fillinRatio, fillinRatio2, fixupRightHandSide, gmresRestartLength, harwellPivotingTolerance, incompleteLUDropTolerance, incompleteLUExpectedFill, incompleteLUSparseACoefficient, incompleteLUSparseFCoefficient, incompleteLUTypeInDH, iterativeImprovement, keepCoefficientGridFunction, keepSparseMatrix, matrixCutoff, matrixOrdering, maximumAllowableIncreaseInResidual, maximumInterpolationWidth, maximumNumberOfIterations, minimumNumberOfIterations, NULL, nullVectorScaling, numberOfIncompleteLULevels, ogmgParameters, orderOfExtrapolation, parallelExternalSolver, parallelPreconditioner, parallelSolverMethod, petscOptions, preconditionBoundary, preconditioner, preconditionRightHandSide, relativeTolerance, removeSolutionAndRHSVector, removeSparseMatrixFactorization, rescaleRowNorms, solveForTranspose, solver, solverMethod, solverName, sorOmega, userSuppliedCompatibilityConstraint, and zeroRatio.
int OgesParameters::put | ( | GenericDataBase & | dir, |
const aString & | name | ||
) | const |
int OgesParameters::set | ( | SolverEnum | option | ) |
References defaultSolver, getSolverTypeName(), solver, solverName, and yale.
Referenced by Ogmg::buildCoefficientArrays(), OgmgParameters::chooseGoodMultigridParameters(), Oges::set(), Oges::setCompatibilityConstraint(), Oges::setConjugateGradientNumberOfIterations(), Oges::setConjugateGradientNumberOfSaveVectors(), Oges::setConjugateGradientPreconditioner(), Oges::setConjugateGradientTolerance(), Oges::setConjugateGradientType(), Ogmg::setup(), and OgmgParameters::update().
int OgesParameters::set | ( | SolverMethodEnum | option | ) |
References solverMethod.
int OgesParameters::set | ( | MatrixOrderingEnum | option | ) |
References matrixOrdering.
int OgesParameters::set | ( | PreconditionerEnum | option | ) |
References preconditioner.
int OgesParameters::set | ( | OptionEnum | option, |
int | value = 0 |
||
) |
int OgesParameters::set | ( | OptionEnum | option, |
float | value | ||
) |
int OgesParameters::set | ( | OptionEnum | option, |
double | value | ||
) |
|
protected |
References absoluteTolerance, biConjugateGradientStabilized, blockJacobiPreconditioner, compatibilityConstraint, externalSolver, fillinRatio, fillinRatio2, fixupRightHandSide, gmres, gmresRestartLength, harwellPivotingTolerance, incompleteLUDropTolerance, incompleteLUExpectedFill, incompleteLUPreconditioner, incompleteLUSparseACoefficient, incompleteLUSparseFCoefficient, incompleteLUTypeInDH, isAvailable(), isAxisymmetric, iterativeImprovement, keepCoefficientGridFunction, keepSparseMatrix, matrixCutoff, maximumInterpolationWidth, maximumNumberOfIterations, minimumNumberOfIterations, nullVectorScaling, numberOfIncompleteLULevels, orderOfExtrapolation, OV_ABORT, parallelExternalSolver, parallelPreconditioner, parallelSolverMethod, PETSc, PETScNew, preconditioner, preonly, printF(), relativeTolerance, removeSolutionAndRHSVector, removeSparseMatrixFactorization, rescaleRowNorms, SLAP, solveForTranspose, solver, solverMethod, THEabsoluteTolerance, THEbestDirectSolver, THEbestIterativeSolver, THEcompatibilityConstraint, THEexternalSolver, THEfillinRatio, THEfillinRatio2, THEfixupRightHandSide, THEgmresRestartLength, THEharwellPivotingTolerance, THEincompleteLUDropTolerance, THEincompleteLUExpectedFill, THEincompleteLUSparseACoefficient, THEincompleteLUSparseFCoefficient, THEincompleteLUTypeInDH, THEisAxisymmetric, THEiterativeImprovement, THEkeepCoefficientGridFunction, THEkeepSparseMatrix, THEmatrixCutoff, THEmatrixOrdering, THEmaximumInterpolationWidth, THEmaximumNumberOfIterations, THEminimumNumberOfIterations, THEnullVectorScaling, THEnumberOfIncompleteLULevels, THEorderOfExtrapolation, THEparallelExternalSolver, THEparallelPreconditioner, THEparallelSolverMethod, THEpreconditioner, THErelativeTolerance, THEremoveSolutionAndRHSVector, THEremoveSparseMatrixFactorization, THErescaleRowNorms, THEsolveForTranspose, THEsolverMethod, THEsolverType, THEtolerance, THEuserSuppliedCompatibilityConstraint, THEzeroRatio, userSuppliedCompatibilityConstraint, yale, and zeroRatio.
int OgesParameters::setParameters | ( | const Oges & | oges | ) |
References petscOptions.
int OgesParameters::update | ( | GenericGraphicsInterface & | gi, |
CompositeGrid & | cg | ||
) |
References absoluteTolerance, additiveSchwarzPreconditioner, GenericGraphicsInterface::appendToTheDefaultPrompt(), aString, biConjugateGradient, biConjugateGradientSquared, biConjugateGradientStabilized, blockJacobiPreconditioner, blockSize, chebychev, compositePreconditioner, conjugateGradient, conjugateGradientSquared, conjugateResidual, Oges::debug, diagonalPreconditioner, eisenstatPreconditioner, externalSolver, fillinRatio, fillinRatio2, GenericGraphicsInterface::getMenuItem(), getSolverName(), gmres, gmresRestartLength, harwell, hypre, incompleteCholeskyPreconditioner, incompleteLUDropTolerance, incompleteLUExpectedFill, incompleteLUPreconditioner, incompleteLUSparseACoefficient, incompleteLUSparseFCoefficient, incompleteLUTypeInDH, GenericGraphicsInterface::inputString(), jacobiPreconditioner, kspPreconditioner, leastSquares, luPreconditioner, matrixCutoff, max(), maximumAllowableIncreaseInResidual, maximumNumberOfIterations, minimumNumberOfIterations, multigrid, multigridPreconditioner, mumps, naturalOrdering, nestedDisectionOrdering, noPreconditioner, NULL, nullVectorScaling, numberOfIncompleteLULevels, ogmgParameters, oneWayDisectionOrdering, GenericGraphicsInterface::outputString(), parallelExternalSolver, parallelPreconditioner, parallelSolverMethod, PETSc, PETScNew, petscOptions, preonly, printF(), qcg, quotientMinimumDegreeOrdering, redundantPreconditioner, relativeTolerance, rescaleRowNorms, reverseCuthillMcKeeOrdering, richardson, rowlengthOrdering, shellPreconditioner, SLAP, solver, solverMethod, sor, sorOmega, sorPreconditioner, sPrintF(), sScanF(), ssorPreconditioner, GenericGraphicsInterface::stopReadingCommandFile(), superlu, superlu_dist, superlu_mp, tcqmr, tfqmr, THEbestDirectSolver, THEbestIterativeSolver, THEcompatibilityConstraint, THEincompleteLUDropTolerance, THEincompleteLUSparseACoefficient, THEincompleteLUSparseFCoefficient, THEincompleteLUTypeInDH, THEiterativeImprovement, THEmatrixOrdering, THEpreconditioner, THEsolveForTranspose, THEsolverMethod, THEsolverType, GenericGraphicsInterface::unAppendTheDefaultPrompt(), OgmgParameters::update(), yale, and zeroRatio.
Referenced by Oges::update(), and OgmgParameters::update().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), and update().
|
protected |
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), HarwellEquationSolver::solve(), and update().
|
protected |
Referenced by display(), Oges::formRhsAndSolutionVectors(), OgesParameters(), operator=(), and set().
|
protected |
Referenced by SlapEquationSolver::allocateWorkSpace(), display(), OgesParameters(), operator=(), set(), SlapEquationSolver::solve(), and update().
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), and HarwellEquationSolver::solve().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), set(), and Oges::setEquationAndBoundaryConditions().
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), and HarwellEquationSolver::solve().
|
protected |
Referenced by Oges::formMatrix(), OgesParameters(), operator=(), and set().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and YaleEquationSolver::solve().
|
protected |
Referenced by display(), Oges::formMatrix(), Oges::generateMatrix(), OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), and set().
|
protected |
Referenced by display(), OgesParameters(), operator=(), and update().
|
protected |
Referenced by display(), OgesParameters(), operator=(), and set().
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), SlapEquationSolver::solve(), and update().
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), SlapEquationSolver::solve(), and update().
|
protected |
Referenced by display(), Oges::makeRightNullVector(), OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by display(), getSolverName(), OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by buildOgmgParameters(), getOgmgParameters(), OgesParameters(), operator=(), update(), and ~OgesParameters().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and Oges::setEquationAndBoundaryConditions().
|
protected |
Referenced by OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by display(), getSolverName(), OgesParameters(), operator=(), set(), and update().
|
protected |
Referenced by display(), getSolverName(), OgesParameters(), operator=(), set(), and update().
ListOfShowFileParameters OgesParameters::petscOptions |
Referenced by operator=(), setPetscOption(), and update().
|
protected |
Referenced by OgesParameters(), and operator=().
|
protected |
Referenced by SlapEquationSolver::allocateWorkSpace(), getSolverName(), OgesParameters(), operator=(), set(), and SlapEquationSolver::solve().
|
protected |
Referenced by OgesParameters(), and operator=().
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), SlapEquationSolver::solve(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), and set().
|
protected |
Referenced by OgesParameters(), operator=(), and set().
|
protected |
Referenced by display(), OgesParameters(), operator=(), set(), and update().
|
protected |
|
protected |
Referenced by Oges::evaluateExtraEquation(), Oges::formMatrix(), Oges::formRhsAndSolutionVectors(), Oges::generateMatrix(), Oges::getExtraEquationValues(), Oges::getMaximumResidual(), getSolverName(), getSolverType(), Oges::initialize(), Oges::isSolverIterative(), OgesParameters(), operator=(), set(), Oges::setCoefficientArray(), Oges::setCoefficientsAndBoundaryConditions(), Oges::setEquationAndBoundaryConditions(), Oges::setExtraEquationValues(), Oges::setGrid(), Oges::solve(), and update().
|
protected |
Referenced by SlapEquationSolver::allocateWorkSpace(), OgesParameters(), operator=(), set(), SlapEquationSolver::solve(), and update().
|
protected |
Referenced by OgesParameters(), operator=(), and set().
|
protected |
Referenced by display(), OgesParameters(), operator=(), and update().
|
protected |
Referenced by display(), Oges::makeRightNullVector(), OgesParameters(), operator=(), and set().
|
protected |
Referenced by display(), Oges::formMatrix(), Oges::generateMatrixError(), OgesParameters(), operator=(), set(), and update().