28#ifndef WILSONPENZIENNEWMARK_H
29#define WILSONPENZIENNEWMARK_H
34 bool first_iteration =
true;
36 const vec damping_ratio;
48 int solve(mat&,
const mat&)
override;
49 int solve(mat&,
const sp_mat&)
override;
50 int solve(mat&, mat&&)
override;
51 int solve(mat&, sp_mat&&)
override;
60 void print()
override;
A Newmark class defines a solver using Newmark algorithm.
Definition: Newmark.h:45
A WilsonPenzienNewmark class defines a solver using Newmark algorithm with Wilson-Penzien damping mod...
Definition: WilsonPenzienNewmark.h:33
void print() override
Definition: WilsonPenzienNewmark.cpp:181
void reset_status() override
Definition: WilsonPenzienNewmark.cpp:137
int solve(mat &, const mat &) override
Definition: WilsonPenzienNewmark.cpp:77
WilsonPenzienNewmark(unsigned, vec &&, double=.25, double=.5)
Definition: WilsonPenzienNewmark.cpp:23
int process_constraint() override
Definition: WilsonPenzienNewmark.cpp:39
void clear_status() override
Definition: WilsonPenzienNewmark.cpp:131
void commit_status() override
Definition: WilsonPenzienNewmark.cpp:125
void assemble_resistance() override
Definition: WilsonPenzienNewmark.cpp:143
int initialize() override
Definition: WilsonPenzienNewmark.cpp:27
void assemble_matrix() override
Definition: WilsonPenzienNewmark.cpp:162