39 struct IntegrationPoint final {
42 unique_ptr<Material> m_material;
43 mat pn_pxy, strain_mat;
44 IntegrationPoint(vec&&,
double, unique_ptr<Material>&&, mat&&);
47 static constexpr unsigned m_node = 4, m_dof = 2, m_size = m_dof * m_node;
49 const double thickness;
51 vector<IntegrationPoint> int_pt;
53 static mat compute_mapping(
const vec&);
54 static mat compute_n(
const vec&);
55 static mat compute_dn(
const vec&);
56 static void stack_stiffness(mat&,
const mat&,
const mat&,
double);
66 int initialize(
const shared_ptr<DomainBase>&)
override;
76 void print()
override;
79 void Setup()
override;
80 void GetData(vtkSmartPointer<vtkDoubleArray>&,
OutputType)
override;
81 void SetDeformation(vtkSmartPointer<vtkPoints>&,
double)
override;