VMTK
vtkvmtkMeshVorticity.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkMeshVorticity.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 __vtkvmtkMeshVorticity_h
29 #define __vtkvmtkMeshVorticity_h
30 
31 #include "vtkUnstructuredGridAlgorithm.h"
32 #include "vtkUnstructuredGrid.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 class VTK_VMTK_MISC_EXPORT vtkvmtkMeshVorticity : public vtkUnstructuredGridAlgorithm
36 {
37  public:
38  vtkTypeMacro(vtkvmtkMeshVorticity,vtkUnstructuredGridAlgorithm);
39  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 
41  static vtkvmtkMeshVorticity *New();
42 
43  vtkSetStringMacro(VelocityArrayName);
44  vtkGetStringMacro(VelocityArrayName);
45 
46  vtkSetStringMacro(VorticityArrayName);
47  vtkGetStringMacro(VorticityArrayName);
48 
49  vtkSetMacro(ComputeIndividualPartialDerivatives,int);
50  vtkGetMacro(ComputeIndividualPartialDerivatives,int);
51  vtkBooleanMacro(ComputeIndividualPartialDerivatives,int);
52 
53  vtkSetMacro(ConvergenceTolerance,double);
54  vtkGetMacro(ConvergenceTolerance,double);
55 
56  vtkSetMacro(QuadratureOrder,int);
57  vtkGetMacro(QuadratureOrder,int);
58 
59  protected:
62 
63  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
64 
67 
69 
72 
73  private:
74  vtkvmtkMeshVorticity(const vtkvmtkMeshVorticity&); // Not implemented.
75  void operator=(const vtkvmtkMeshVorticity&); // Not implemented.
76 };
77 
78 #endif
Calculates vorticity from velocity gradients in a mesh.