vtkbone
vtkboneApplySymmetricShearTest.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 
61 #ifndef __vtkboneApplySymmetricShearTest_h
62 #define __vtkboneApplySymmetricShearTest_h
63 
64 #include "vtkboneApplyTestBase.h"
65 #include "vtkboneWin32Header.h"
66 
67 
69 {
70 public:
73  void PrintSelf(ostream& os, vtkIndent indent);
74  void PrintParameters(ostream& os, vtkIndent indent);
75 
77 
80  vtkSetMacro(ShearStrain, double);
81  vtkGetMacro(ShearStrain, double);
83 
85 
87  vtkSetMacro(ConfineSidesVertically, int);
88  vtkGetMacro(ConfineSidesVertically, int);
89  vtkBooleanMacro(ConfineSidesVertically, int);
91 
93 
95  vtkSetMacro(ConfineTopAndBottomVertically, int);
96  vtkGetMacro(ConfineTopAndBottomVertically, int);
97  vtkBooleanMacro(ConfineTopAndBottomVertically, int);
99 
100 protected:
103 
104  double ShearStrain;
107 
108  virtual int RequestData(vtkInformation* request,
109  vtkInformationVector** inputVector,
110  vtkInformationVector* outputVector);
111 
112  virtual int AddSideConstraints(vtkboneFiniteElementModel* model);
113  virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel* model);
114  virtual int AddConvergenceSet(vtkboneFiniteElementModel* model);
115  virtual int AddPostProcessingSets(vtkboneFiniteElementModel* model);
116  virtual int AddInformation(vtkboneFiniteElementModel* model);
117 
118 private:
120  void operator=(const vtkboneApplySymmetricShearTest&); // Not implemented
121 };
122 
123 #endif
124 
data model for finite element meshes
Base class for applying a test to create a vtkboneFiniteElementModel.
Generates a finite element mesh that corresponds to a symmetric shear test.
#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)