VMTK
vtkvmtkMeshLambda2.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkMeshLambda2.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 =========================================================================*/
26 #ifndef __vtkvmtkMeshLambda2_h
27 #define __vtkvmtkMeshLambda2_h
28 
29 #include "vtkUnstructuredGridAlgorithm.h"
30 #include "vtkUnstructuredGrid.h"
31 #include "vtkvmtkWin32Header.h"
32 
33 class VTK_VMTK_MISC_EXPORT vtkvmtkMeshLambda2 : public vtkUnstructuredGridAlgorithm
34 {
35  public:
36  vtkTypeMacro(vtkvmtkMeshLambda2,vtkUnstructuredGridAlgorithm);
37  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
38 
39  static vtkvmtkMeshLambda2 *New();
40 
41  vtkSetStringMacro(VelocityArrayName);
42  vtkGetStringMacro(VelocityArrayName);
43 
44  vtkSetStringMacro(Lambda2ArrayName);
45  vtkGetStringMacro(Lambda2ArrayName);
46 
47  vtkSetMacro(ComputeIndividualPartialDerivatives,int);
48  vtkGetMacro(ComputeIndividualPartialDerivatives,int);
49  vtkBooleanMacro(ComputeIndividualPartialDerivatives,int);
50 
51  vtkSetMacro(ConvergenceTolerance,double);
52  vtkGetMacro(ConvergenceTolerance,double);
53 
54  vtkSetMacro(QuadratureOrder,int);
55  vtkGetMacro(QuadratureOrder,int);
56 
57  vtkSetMacro(ForceBoundaryToNegative,int);
58  vtkGetMacro(ForceBoundaryToNegative,int);
59  vtkBooleanMacro(ForceBoundaryToNegative,int);
60 
61  protected:
64 
65  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
66 
69 
74 
75  private:
76  vtkvmtkMeshLambda2(const vtkvmtkMeshLambda2&); // Not implemented.
77  void operator=(const vtkvmtkMeshLambda2&); // Not implemented.
78 };
79 
80 #endif
Compute the Lambda2 surface for a given flow field which allow for the visualization of fluid vortex ...