VMTK
Loading...
Searching...
No Matches
vtkvmtkLinearSystemSolver.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
31
32#ifndef __vtkvmtkLinearSystemSolver_h
33#define __vtkvmtkLinearSystemSolver_h
34
35#include "vtkObject.h"
36#include "vtkvmtkLinearSystem.h"
37#include "vtkvmtkWin32Header.h"
38
39class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkLinearSystemSolver : public vtkObject
40{
41public:
43 vtkTypeMacro(vtkvmtkLinearSystemSolver,vtkObject);
44
46
52
54
58 vtkSetMacro(MaximumNumberOfIterations,int);
59 vtkGetMacro(MaximumNumberOfIterations,int);
61
63
67 vtkSetMacro(ConvergenceTolerance,double);
68 vtkGetMacro(ConvergenceTolerance,double);
70
77 virtual int Solve();
78
79protected:
82
84
87
89 double Residual;
90
91private:
92 vtkvmtkLinearSystemSolver(const vtkvmtkLinearSystemSolver&); // Not implemented.
93 void operator=(const vtkvmtkLinearSystemSolver&); // Not implemented.
94};
95
96#endif
97
static vtkvmtkLinearSystemSolver * New()
Serves as the base container holding sparse matrix objects that represent a linear system of equation...