VMTK
Loading...
Searching...
No Matches
vtkvmtkOpenNLLinearSystemSolver.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=========================================================================*/
43
44#ifndef __vtkvmtkOpenNLLinearSystemSolver_h
45#define __vtkvmtkOpenNLLinearSystemSolver_h
46
47#include "vtkObject.h"
49#include "vtkvmtkWin32Header.h"
50
51class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkOpenNLLinearSystemSolver : public vtkvmtkLinearSystemSolver
52{
53public:
56
63 int Solve() override;
64
66
72 vtkSetMacro(SolverType,int);
73 vtkGetMacro(SolverType,int);
80
81
83
90 vtkSetMacro(PreconditionerType,int);
91 vtkGetMacro(PreconditionerType,int);
98
99
101
105 vtkSetMacro(Omega,double);
106 vtkGetMacro(Omega,double);
108
109 //BTX
110 enum
111 {
115 };
116 //ETX
117
118 //BTX
119 enum
120 {
124 };
125 //ETX
126
127protected:
130
133 double Omega;
134
135private:
137 void operator=(const vtkvmtkOpenNLLinearSystemSolver&); // Not implemented.
138};
139
140#endif
141
Solve a linear system of equations using open NL.
virtual void SetPreconditionerType(int)
virtual void SetSolverType(int)
static vtkvmtkOpenNLLinearSystemSolver * New()