40 FLAG step_flag = FLAG::TRAP;
44 const double Q1, Q2, Q0, Q02 = Q0 / Q2, Q12 = Q1 / Q2;
46 double P0{0.}, P1{0.}, P2{0.}, P3{0.}, P4{0.}, P5{0.}, P6{0.}, P7{0.}, P8{0.}, P9{0.};
68 void print()
override;
A BatheTwoStep class defines a solver using BatheTwoStep algorithm.
Definition: BatheTwoStep.h:34
void update_incre_time(double) override
Definition: BatheTwoStep.cpp:71
void commit_status() override
Definition: BatheTwoStep.cpp:92
void clear_status() override
Definition: BatheTwoStep.cpp:112
vec from_incre_acceleration(const vec &, const uvec &) override
Definition: BatheTwoStep.cpp:125
vec from_total_acceleration(const vec &, const uvec &) override
Definition: BatheTwoStep.cpp:139
void update_parameter(double) override
Definition: BatheTwoStep.cpp:149
BatheTwoStep(unsigned, double, double)
Definition: BatheTwoStep.cpp:22
vec from_total_velocity(const vec &, const uvec &) override
Definition: BatheTwoStep.cpp:131
void assemble_matrix() override
Definition: BatheTwoStep.cpp:46
void assemble_resistance() override
Definition: BatheTwoStep.cpp:29
vec from_incre_velocity(const vec &, const uvec &) override
Definition: BatheTwoStep.cpp:119
void print() override
Definition: BatheTwoStep.cpp:166
int update_trial_status() override
Definition: BatheTwoStep.cpp:77
Definition: Integrator.h:149