VMTK
vtkvmtkLinearSystem.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkLinearSystem.h,v $
5  Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkLinearSystem_h
29 #define __vtkvmtkLinearSystem_h
30 
31 #include "vtkObject.h"
32 #include "vtkvmtkSparseMatrix.h"
33 #include "vtkvmtkDoubleVector.h"
34 //#include "vtkvmtkDifferentialGeometryWin32Header.h"
35 #include "vtkvmtkWin32Header.h"
36 
37 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkLinearSystem : public vtkObject
38 {
39 public:
40  static vtkvmtkLinearSystem* New();
41  vtkTypeMacro(vtkvmtkLinearSystem,vtkObject);
42 
43  vtkSetObjectMacro(A,vtkvmtkSparseMatrix);
44  vtkGetObjectMacro(A,vtkvmtkSparseMatrix);
45 
46  vtkSetObjectMacro(X,vtkvmtkDoubleVector);
47  vtkGetObjectMacro(X,vtkvmtkDoubleVector);
48 
49  vtkSetObjectMacro(B,vtkvmtkDoubleVector);
50  vtkGetObjectMacro(B,vtkvmtkDoubleVector);
51 
52  int CheckSystem();
53 
54 protected:
57 
61 
62 private:
63  vtkvmtkLinearSystem(const vtkvmtkLinearSystem&); // Not implemented.
64  void operator=(const vtkvmtkLinearSystem&); // Not implemented.
65 };
66 
67 #endif
68 
Base class for vectors utilized in finite-element and other PDE evaluations.
Class for constructing sparse matrices from a dataset and performing basic mathematical operations on...
vtkvmtkDoubleVector * X
Base container to hold sparse matrice objects representing a linear system of equations Ax = B...
vtkvmtkDoubleVector * B
vtkvmtkSparseMatrix * A