VMTK
Loading...
Searching...
No Matches
DifferentialGeometry
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
43
class
VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT
vtkvmtkLinearSystem
:
public
vtkObject
44
{
45
public
:
46
static
vtkvmtkLinearSystem
*
New
();
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
81
protected
:
82
vtkvmtkLinearSystem
();
83
~vtkvmtkLinearSystem
();
84
85
vtkvmtkSparseMatrix
*
A
;
86
vtkvmtkDoubleVector
*
X
;
87
vtkvmtkDoubleVector
*
B
;
88
89
private
:
90
vtkvmtkLinearSystem
(
const
vtkvmtkLinearSystem
&);
// Not implemented.
91
void
operator=(
const
vtkvmtkLinearSystem
&);
// Not implemented.
92
};
93
94
#endif
95
vtkvmtkDoubleVector
Serves as the base class for vectors utilized in finite-element and other PDE evaluations.
Definition
vtkvmtkDoubleVector.h:46
vtkvmtkLinearSystem::B
vtkvmtkDoubleVector * B
Definition
vtkvmtkLinearSystem.h:87
vtkvmtkLinearSystem::CheckSystem
int CheckSystem()
Definition
vtkvmtkLinearSystem.cxx:56
vtkvmtkLinearSystem::New
static vtkvmtkLinearSystem * New()
vtkvmtkLinearSystem::vtkvmtkLinearSystem
vtkvmtkLinearSystem()
Definition
vtkvmtkLinearSystem.cxx:28
vtkvmtkLinearSystem::A
vtkvmtkSparseMatrix * A
Definition
vtkvmtkLinearSystem.h:85
vtkvmtkLinearSystem::X
vtkvmtkDoubleVector * X
Definition
vtkvmtkLinearSystem.h:86
vtkvmtkSparseMatrix
Implements a row-based sparse matrix built from mesh neighborhoods or stencils, supporting basic line...
Definition
vtkvmtkSparseMatrix.h:50
vtkvmtkDoubleVector.h
vtkvmtkSparseMatrix.h
Generated by
1.15.0