vtkbone
vtkboneApplyBendingTest.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
55#ifndef __vtkboneApplyBendingTest_h
56#define __vtkboneApplyBendingTest_h
57
59#include "vtkboneWin32Header.h"
60
61
62class VTKBONE_EXPORT vtkboneApplyBendingTest : public vtkboneApplyTestBase
63{
64public:
67 void PrintSelf(ostream& os, vtkIndent indent) override;
68 void PrintParameters(ostream& os, vtkIndent indent);
69
71
73 vtkSetVector2Macro(NeutralAxisOrigin, double);
74 vtkGetVector2Macro(NeutralAxisOrigin, double);
76
78
80 vtkSetMacro(NeutralAxisAngle, double);
81 vtkGetMacro(NeutralAxisAngle, double);
83
85
88 vtkSetMacro(BendingAngle, double);
89 vtkGetMacro(BendingAngle, double);
91
92protected:
95
96 double NeutralAxisOrigin[2];
99
100 virtual int RequestData(vtkInformation* request,
101 vtkInformationVector** inputVector,
102 vtkInformationVector* outputVector) override;
103
108
109private:
110 vtkboneApplyBendingTest(const vtkboneApplyBendingTest&); // Not implemented
111 void operator=(const vtkboneApplyBendingTest&); // Not implemented
112};
113
114#endif
115
Generates a finite element mesh that corresponds to a bending test.
void PrintParameters(ostream &os, vtkIndent indent)
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkboneApplyBendingTest * New()
virtual int AddConvergenceSet(vtkboneFiniteElementModel *model)
virtual int AddTopAndBottomConstraints(vtkboneFiniteElementModel *model)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
virtual int AddInformation(vtkboneFiniteElementModel *model)
virtual int AddPostProcessingSets(vtkboneFiniteElementModel *model)
Base class for applying a test to create a vtkboneFiniteElementModel.
data model for finite element meshes