39 const vec mass_coef, stiffness_coef;
41 const uword n_damping = mass_coef.n_elem;
45 shared_ptr<MetaMat<double>> current_mass =
nullptr;
46 shared_ptr<MetaMat<double>> current_stiffness =
nullptr;
47 shared_ptr<MetaMat<double>> current_geometry =
nullptr;
49 [[nodiscard]] uword get_total_size()
const override;
51 void update_stiffness()
const override;
52 void update_residual()
const override;
55 explicit LeeNewmark(
unsigned, vec&&, vec&&,
double,
double);
63 void print()
override;
LeeNewmark(unsigned, vec &&, vec &&, double, double)
Definition: LeeNewmark.cpp:55
int process_constraint() override
Definition: LeeNewmark.cpp:71
void assemble_resistance() override
Definition: LeeNewmark.cpp:163
A LeeNewmark class defines a solver using Newmark algorithm with Lee damping model.
Definition: LeeNewmark.h:38
int initialize() override
Definition: LeeNewmark.cpp:61
void print() override
Definition: LeeNewmark.cpp:184
A LeeNewmarkBase class defines a solver using Newmark algorithm with Lee damping model.
Definition: LeeNewmarkBase.h:36