VMTK
Loading...
Searching...
No Matches
vtkvmtkLinearSystem.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=========================================================================*/
33
34#ifndef __vtkvmtkLinearSystem_h
35#define __vtkvmtkLinearSystem_h
36
37#include "vtkObject.h"
38#include "vtkvmtkSparseMatrix.h"
39#include "vtkvmtkDoubleVector.h"
40//#include "vtkvmtkDifferentialGeometryWin32Header.h"
41#include "vtkvmtkWin32Header.h"
42
43class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkLinearSystem : public vtkObject
44{
45public:
47 vtkTypeMacro(vtkvmtkLinearSystem,vtkObject);
48
50
53 vtkSetObjectMacro(A,vtkvmtkSparseMatrix);
54 vtkGetObjectMacro(A,vtkvmtkSparseMatrix);
56
58
62 vtkSetObjectMacro(X,vtkvmtkDoubleVector);
63 vtkGetObjectMacro(X,vtkvmtkDoubleVector);
65
67
70 vtkSetObjectMacro(B,vtkvmtkDoubleVector);
71 vtkGetObjectMacro(B,vtkvmtkDoubleVector);
73
79 int CheckSystem();
80
81protected:
84
88
89private:
90 vtkvmtkLinearSystem(const vtkvmtkLinearSystem&); // Not implemented.
91 void operator=(const vtkvmtkLinearSystem&); // Not implemented.
92};
93
94#endif
95
Serves as the base class for vectors utilized in finite-element and other PDE evaluations.
vtkvmtkDoubleVector * B
static vtkvmtkLinearSystem * New()
vtkvmtkSparseMatrix * A
vtkvmtkDoubleVector * X
Implements a row-based sparse matrix built from mesh neighborhoods or stencils, supporting basic line...