31 #ifndef __vtkvmtkOpenNLLinearSystemSolver_h 32 #define __vtkvmtkOpenNLLinearSystemSolver_h 34 #include "vtkObject.h" 36 #include "vtkvmtkWin32Header.h" 46 vtkSetMacro(SolverType,
int);
47 vtkGetMacro(SolverType,
int);
49 { this->SetSolverType(VTK_VMTK_OPENNL_SOLVER_CG); }
51 { this->SetSolverType(VTK_VMTK_OPENNL_SOLVER_GMRES); }
53 { this->SetSolverType(VTK_VMTK_OPENNL_SOLVER_BICGSTAB); }
55 vtkSetMacro(PreconditionerType,
int);
56 vtkGetMacro(PreconditionerType,
int);
58 { this->SetPreconditionerType(VTK_VMTK_OPENNL_PRECONDITIONER_NONE); }
60 { this->SetPreconditionerType(VTK_VMTK_OPENNL_PRECONDITIONER_JACOBI); }
62 { this->SetPreconditionerType(VTK_VMTK_OPENNL_PRECONDITIONER_SSOR); }
64 vtkSetMacro(Omega,
double);
65 vtkGetMacro(Omega,
double);
72 VTK_VMTK_OPENNL_SOLVER_BICGSTAB
81 VTK_VMTK_OPENNL_PRECONDITIONER_SSOR
~vtkvmtkOpenNLLinearSystemSolver()
void SetPreconditionerTypeToNone()
static vtkvmtkLinearSystemSolver * New()
void SetPreconditionerTypeToSSOR()
void SetSolverTypeToBiCGStab()
Solve a linear system of equations using open NL.
Base class for linear system of equation solver implementations.
void SetPreconditionerTypeToJacobi()
void SetSolverTypeToGMRES()