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
50#include "vtkboneWin32Header.h"
51
52
54{
55public:
58 void PrintSelf(ostream& os, vtkIndent indent) override;
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
78protected:
81
82 double ShearVector[2];
84
85 virtual int RequestData(vtkInformation* request,
86 vtkInformationVector** inputVector,
87 vtkInformationVector* outputVector) override;
88
93
94private:
96 void operator=(const vtkboneApplyDirectionalShearTest&); // Not implemented
97};
98
99#endif
100
Generates a finite element mesh that corresponds to a directional shear test.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int AddInformation(vtkboneFiniteElementModel *model)
virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel *model)
void PrintParameters(ostream &os, vtkIndent indent)
static vtkboneApplyDirectionalShearTest * New()
virtual int AddPostProcessingSets(vtkboneFiniteElementModel *model)
virtual int AddConvergenceSet(vtkboneFiniteElementModel *model)
Base class for applying a test to create a vtkboneFiniteElementModel.
data model for finite element meshes