39 const vec mass_coef, stiffness_coef;
41 const uword n_damping = mass_coef.n_elem;
45 [[nodiscard]] uword get_total_size()
const override;
47 void update_stiffness()
const override;
48 void update_residual()
const override;
50 virtual void initialize_mass(
const shared_ptr<DomainBase>&);
51 virtual void initialize_stiffness(
const shared_ptr<DomainBase>&);
59 LeeNewmark(
unsigned, vec&&, vec&&,
double,
double);
68 void print()
override;
72 void initialize_mass(
const shared_ptr<DomainBase>&)
override;
73 void initialize_stiffness(
const shared_ptr<DomainBase>&)
override;
Definition: LeeNewmark.h:71
A LeeNewmarkBase class defines a solver using Newmark algorithm with Lee damping model.
Definition: LeeNewmarkBase.h:36
A LeeNewmark class defines a solver using Newmark algorithm with Lee damping model.
Definition: LeeNewmark.h:38
void assemble_resistance() override
Definition: LeeNewmark.cpp:152
void print() override
Definition: LeeNewmark.cpp:174
shared_ptr< MetaMat< double > > current_stiffness
Definition: LeeNewmark.h:55
shared_ptr< MetaMat< double > > current_geometry
Definition: LeeNewmark.h:56
int process_constraint() override
Definition: LeeNewmark.cpp:100
int process_constraint_resistance() override
Definition: LeeNewmark.cpp:146
int initialize() override
Definition: LeeNewmark.cpp:90
shared_ptr< MetaMat< double > > current_mass
Definition: LeeNewmark.h:54
LeeNewmark(unsigned, vec &&, vec &&, double, double)
Definition: LeeNewmark.cpp:84