29#ifndef LEENEWMARKBASE_H
30#define LEENEWMARKBASE_H
32#include "../Newmark.h"
58 shared_ptr<Factory<double>>
factory =
nullptr;
74 int solve(mat&,
const mat&)
final;
75 int solve(mat&,
const sp_mat&)
final;
76 int solve(mat&, mat&&) final;
77 int solve(mat&, sp_mat&&) final;
A LeeNewmarkBase class defines a solver using Newmark algorithm with Lee damping model.
Definition LeeNewmarkBase.h:37
bool first_iteration
Definition LeeNewmarkBase.h:50
const uword n_block
Definition LeeNewmarkBase.h:46
unique_ptr< MetaMat< double > > stiffness
Definition LeeNewmarkBase.h:56
vec current_internal
Definition LeeNewmarkBase.h:52
virtual void update_stiffness() const =0
StiffnessType
Definition LeeNewmarkBase.h:39
vec get_displacement_residual() final
Definition LeeNewmarkBase.cpp:108
void clear_status() final
Definition LeeNewmarkBase.cpp:122
int update_internal(const mat &) final
Definition LeeNewmarkBase.cpp:82
vec residual
Definition LeeNewmarkBase.h:54
int initialize() override
Definition LeeNewmarkBase.cpp:58
void commit_status() final
Definition LeeNewmarkBase.cpp:114
int erase_top_left_block() const
Definition LeeNewmarkBase.cpp:23
const StiffnessType stiffness_type
Definition LeeNewmarkBase.h:48
virtual uword get_total_size() const =0
int solve(mat &, const mat &) final
Definition LeeNewmarkBase.cpp:88
shared_ptr< Factory< double > > factory
Definition LeeNewmarkBase.h:58
vec get_force_residual() final
Definition LeeNewmarkBase.cpp:102
void reset_status() final
Definition LeeNewmarkBase.cpp:130
virtual void update_residual() const =0
vec trial_internal
Definition LeeNewmarkBase.h:52
A Newmark class defines a solver using Newmark algorithm.
Definition Newmark.h:45