vtkbone
vtkboneApplyDirectionalShearTest.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Copyright 2010-2016, Numerics88 Solutions Ltd.
4  http://www.numerics88.com/
5 
6  Copyright (c) Eric Nodwell and Steven K. Boyd
7  See Copyright.txt for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 =========================================================================*/
13 
46 #ifndef __vtkboneApplyDirectionalShearTest_h
47 #define __vtkboneApplyDirectionalShearTest_h
48 
49 #include "vtkboneApplyTestBase.h"
50 #include "vtkboneWin32Header.h"
51 
52 
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent);
59  void PrintParameters(ostream& os, vtkIndent indent);
60 
62 
65  vtkSetVector2Macro(ShearVector, double);
66  vtkGetVector2Macro(ShearVector, double);
68 
70 
73  vtkSetMacro(ScaleShearToHeight, int);
74  vtkGetMacro(ScaleShearToHeight, int);
75  vtkBooleanMacro(ScaleShearToHeight, int);
77 
78 protected:
81 
82  double ShearVector[2];
84 
85  virtual int RequestData(vtkInformation* request,
86  vtkInformationVector** inputVector,
87  vtkInformationVector* outputVector);
88 
89  virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel* model);
90  virtual int AddConvergenceSet(vtkboneFiniteElementModel* model);
91  virtual int AddPostProcessingSets(vtkboneFiniteElementModel* model);
92  virtual int AddInformation(vtkboneFiniteElementModel* model);
93 
94 private:
96  void operator=(const vtkboneApplyDirectionalShearTest&); // Not implemented
97 };
98 
99 #endif
100 
data model for finite element meshes
Generates a finite element mesh that corresponds to a directional shear test.
Base class for applying a test to create a vtkboneFiniteElementModel.
#define VTKBONE_EXPORT
static vtkboneApplyTestBase * New()
void PrintParameters(ostream &os, vtkIndent indent)
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)