39 static constexpr unsigned t_node = 2, t_dof = 2, t_size = t_dof * t_node;
41 const double length = 0.;
43 const double rigidity;
44 const double euler = 1.;
47 unique_ptr<Orientation> t_trans;
49 const bool update_area;
50 const bool log_strain;
63 int initialize(
const shared_ptr<DomainBase>&)
override;
73 void print()
override;
76 void Setup()
override;
77 void GetData(vtkSmartPointer<vtkDoubleArray>&,
OutputType)
override;
78 void SetDeformation(vtkSmartPointer<vtkPoints>&,
double)
override;
OutputType
Definition: OutputType.h:23
Definition: MaterialElement.h:51
A T2D2 class.
Definition: T2D2.h:38
vector< vec > record(OutputType) override
Definition: T2D2.cpp:100
T2D2(unsigned, uvec &&, unsigned, double, bool=false, bool=true, bool=true, double=-1.)
Definition: T2D2.cpp:22
void print() override
Definition: T2D2.cpp:102
int initialize(const shared_ptr< DomainBase > &) override
Definition: T2D2.cpp:30
int clear_status() override
Definition: T2D2.cpp:88
int reset_status() override
Definition: T2D2.cpp:94
int commit_status() override
Definition: T2D2.cpp:82
int update_status() override
Definition: T2D2.cpp:46