#include <FLinearSolverFactory.hpp>
Purpose: Linear Solver factory Maintain and creates - Thomas Direct Solver for Tridiagonals - Barzilai Borwein solvers - Conjugate Gradient solvers - Krylov Solvers - Combined Krylov Gmres*(l,m) solvers - SGS and SSOR Preconditionned solvers Paper: "Numerical Linear Algebra and Applications.", Biswa Nath Datta, Brooks/Cole Ed, 1995. "Introduction to the Numerical Solution of Markov Chains.", W. J. Stewart, Princeton Press 1994. QmrCgStab and QmrCgStab2: Chan94 better variation of BiCgstab ------------------------------------------------------------- "A Quasi-Minimal Residual Variant of the BiCgstab Algorithm for Nonsymmetric Systems.", T.F. Chan & all, UCLA university, CSRD Report no 1231, februari 1993. "On the Barzilai-Borwein Method", R. Fletcher, Numerical Analysis Reprt NA/207, 2001, Universitee of Dundee, UK
Public Methods | |
FLinearSolverFactory (int nmodels=50, int ncontext=10) | |
virtual | ~FLinearSolverFactory () |
int | numberOfContexts () |
int | numberOfModels () |
int | maxContexts () |
int | maxModels () |
void | addModel (char *name, char *newModel, int icontext) |
void | addContext (char *newContext) |
char * | getContextType (int icontext) |
char * | getContext (int imodel) |
char * | getModel (int imodel) |
char * | getModelName (int imodel) |
int | getModelContext (int imodel) |
virtual AbsFLinearSolver * | createSolver (int indexModel=0, int maxIter=10, int m=10, double epsilon=1.0e-4) |
virtual AbsFLinearSolver * | createSolverByName (char *name, int maxIter, int m=10, double epsilon=1.0e-4) |
virtual AbsFLinearSolver * | createSolverByName (char *name, int outerIter, int l, int innerIter, int m, double epsilon=1.0e-4) |
virtual AbsFLinearSolver * | createSolverByName (char *name, int outerIter, int l, AbsFLinearSolver *innerSolver, double epsilon=1.0e-4) |
virtual void | showModels () |
virtual void | report () |
virtual void | report (FILE *file) |
Public Attributes | |
int | n |
int | nmax |
char ** | model |
char ** | modelName |
int * | modelContext |
int | nContext |
int | maxContext |
char ** | context |