vtkbone
vtkboneApplyTorsionTest.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
51#ifndef __vtkboneApplyTorsionTest_h
52#define __vtkboneApplyTorsionTest_h
53
55#include "vtkboneWin32Header.h"
56
57
58class VTKBONE_EXPORT vtkboneApplyTorsionTest : public vtkboneApplyTestBase
59{
60public:
63 void PrintSelf(ostream& os, vtkIndent indent) override;
64 void PrintParameters(ostream& os, vtkIndent indent);
65
67
69 vtkSetVector2Macro(TwistAxisOrigin, double);
70 vtkGetVector2Macro(TwistAxisOrigin, double);
72
74
76 vtkSetMacro(TwistAngle, double);
77 vtkGetMacro(TwistAngle, double);
79
80protected:
83
84 double TwistAxisOrigin[2];
85 double TwistAngle;
86
87 virtual int RequestData(vtkInformation* request,
88 vtkInformationVector** inputVector,
89 vtkInformationVector* outputVector) override;
90
95
96private:
97 vtkboneApplyTorsionTest(const vtkboneApplyTorsionTest&); // Not implemented
98 void operator=(const vtkboneApplyTorsionTest&); // Not implemented
99};
100
101#endif
102
Base class for applying a test to create a vtkboneFiniteElementModel.
Generates a finite element mesh that corresponds to a torsion test.
virtual int AddPostProcessingSets(vtkboneFiniteElementModel *model)
virtual int AddInformation(vtkboneFiniteElementModel *model)
virtual int AddConvergenceSet(vtkboneFiniteElementModel *model)
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkboneApplyTorsionTest * New()
void PrintParameters(ostream &os, vtkIndent indent)
virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel *model)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
data model for finite element meshes