VMTK
Loading...
Searching...
No Matches
vtkvmtkBoundaryConditions.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 __vtkvmtkBoundaryConditions_h
35#define __vtkvmtkBoundaryConditions_h
36
37#include "vtkObject.h"
38#include "vtkvmtkLinearSystem.h"
39#include "vtkDoubleArray.h"
40#include "vtkIdList.h"
41//#include "vtkvmtkDifferentialGeometryWin32Header.h"
42#include "vtkvmtkWin32Header.h"
43
44class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkBoundaryConditions : public vtkObject
45{
46public:
47
48 vtkTypeMacro(vtkvmtkBoundaryConditions,vtkObject);
49
51
57
59
63 vtkSetObjectMacro(BoundaryNodes,vtkIdList);
64 vtkGetObjectMacro(BoundaryNodes,vtkIdList);
66
68
72 vtkSetObjectMacro(BoundaryValues,vtkDoubleArray);
73 vtkGetObjectMacro(BoundaryValues,vtkDoubleArray);
75
82 virtual void Apply();
83
84protected:
87
89
90 vtkIdList* BoundaryNodes;
91 vtkDoubleArray* BoundaryValues;
92
93private:
94 vtkvmtkBoundaryConditions(const vtkvmtkBoundaryConditions&); // Not implemented.
95 void operator=(const vtkvmtkBoundaryConditions&); // Not implemented.
96};
97
98#endif
99
Serves as the base container holding sparse matrix objects that represent a linear system of equation...