VMTK
Loading...
Searching...
No Matches
vtkvmtkUnstructuredGridFEGradientAssembler.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=========================================================================*/
31
32#ifndef __vtkvmtkUnstructuredGridFEGradientAssembler_h
33#define __vtkvmtkUnstructuredGridFEGradientAssembler_h
34
35#include "vtkvmtkFEAssembler.h"
36#include "vtkvmtkWin32Header.h"
37
38class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkUnstructuredGridFEGradientAssembler : public vtkvmtkFEAssembler
39{
40public:
41
44
48 virtual void Build() override;
49
51
54 vtkSetStringMacro(ScalarsArrayName);
55 vtkGetStringMacro(ScalarsArrayName);
57
59
62 vtkSetMacro(ScalarsComponent,int);
63 vtkGetMacro(ScalarsComponent,int);
65
67
71 vtkSetMacro(Direction,int);
72 vtkGetMacro(Direction,int);
74
76
81 vtkSetMacro(AssemblyMode,int);
82 vtkGetMacro(AssemblyMode,int);
84
89
94
95//BTX
99 enum {
102 };
103//ETX
104
105protected:
108
109 void BuildGradient();
110 void BuildPartialDerivative();
111
116
117private:
119 void operator=(const vtkvmtkUnstructuredGridFEGradientAssembler&); // Not implemented.
120};
121
122#endif
virtual void Build()=0
Construct a gradient based finite element calculation on a mesh.
static vtkvmtkUnstructuredGridFEGradientAssembler * New()