52 bool time_step_switch =
true;
53 bool matrix_assembled_switch =
false;
55 weak_ptr<DomainBase> database;
66 [[nodiscard]] shared_ptr<DomainBase>
get_domain()
const;
119 mat
solve(
const mat&);
120 mat
solve(
const sp_mat&);
123 virtual int solve(mat&,
const mat&);
124 virtual int solve(mat&,
const sp_mat&);
125 virtual int solve(mat&, mat&&);
126 virtual int solve(mat&, sp_mat&&);
168 int solve(mat&,
const mat&)
override;
169 int solve(mat&,
const sp_mat&)
override;
170 int solve(mat&, mat&&)
override;
171 int solve(mat&, sp_mat&&)
override;
The DomainBase class is a template.
Definition: DomainBase.h:104
Definition: Integrator.h:158
const vec & get_trial_displacement() const override
Definition: Integrator.cpp:359
void update_from_ninja() override
Definition: Integrator.cpp:361
vec from_total_acceleration(const vec &, const uvec &) override
Definition: Integrator.cpp:378
vec from_incre_acceleration(const vec &, const uvec &) override
Definition: Integrator.cpp:376
vec from_incre_velocity(const vec &, const uvec &) override
Definition: Integrator.cpp:374
constexpr IntegratorType type() const override
Definition: Integrator.h:162
int solve(mat &, const mat &) override
Definition: Integrator.cpp:366
Definition: Integrator.h:149
constexpr IntegratorType type() const override
Definition: Integrator.h:153
bool time_independent_matrix() const override
Definition: Integrator.cpp:357
The Integrator class is basically a wrapper of the DomainBase class with regard to some status changi...
Definition: Integrator.h:51
virtual void update_incre_time(double)
Definition: Integrator.cpp:184
virtual constexpr IntegratorType type() const
Definition: Integrator.h:70
void set_domain(const weak_ptr< DomainBase > &)
Definition: Integrator.cpp:25
Integrator & operator=(const Integrator &)=delete
virtual int update_trial_status()
Definition: Integrator.cpp:190
virtual int process_load_resistance()
Definition: Integrator.cpp:79
void set_matrix_assembled_switch(bool)
Definition: Integrator.cpp:45
virtual void update_trial_load_factor(double)
Definition: Integrator.cpp:166
virtual vec get_displacement_residual()
Definition: Integrator.cpp:138
virtual void update_load()
Definition: Integrator.cpp:162
virtual bool has_corrector() const
Definition: Integrator.cpp:49
virtual int process_constraint()
Definition: Integrator.cpp:61
virtual sp_mat get_reference_load()
Definition: Integrator.cpp:158
Integrator(const Integrator &)=delete
virtual int process_modifier()
Definition: Integrator.cpp:77
virtual vec from_incre_acceleration(const vec &, const uvec &)
Definition: Integrator.cpp:323
virtual int process_load()
Definition: Integrator.cpp:53
Integrator(unsigned=0)
Definition: Integrator.cpp:22
virtual void update_constraint()
Definition: Integrator.cpp:164
virtual int sync_status(bool)
Definition: Integrator.cpp:208
void set_time_step_switch(bool)
Definition: Integrator.cpp:36
virtual void stage_status()
Definition: Integrator.cpp:289
void record() const
Definition: Integrator.cpp:99
virtual void update_from_ninja()
Definition: Integrator.cpp:173
virtual void update_parameter(double)
Definition: Integrator.cpp:303
~Integrator() override=default
virtual bool time_independent_matrix() const
Definition: Integrator.cpp:51
virtual void commit_status()
Definition: Integrator.cpp:291
virtual const vec & get_trial_displacement() const
Definition: Integrator.cpp:160
virtual vec from_incre_velocity(const vec &, const uvec &)
Definition: Integrator.cpp:313
mat solve(const mat &)
Definition: Integrator.cpp:239
virtual int initialize()
Definition: Integrator.cpp:29
virtual vec get_auxiliary_residual()
Definition: Integrator.cpp:152
virtual int process_constraint_resistance()
Definition: Integrator.cpp:88
virtual vec from_total_acceleration(const vec &, const uvec &)
Definition: Integrator.cpp:333
virtual void assemble_resistance()
Definition: Integrator.cpp:101
shared_ptr< DomainBase > get_domain() const
Definition: Integrator.cpp:27
virtual int process_criterion()
Definition: Integrator.cpp:75
virtual void clear_status()
Definition: Integrator.cpp:293
virtual void assemble_matrix()
Definition: Integrator.cpp:112
Integrator(Integrator &&)=delete
Integrator & operator=(Integrator &&)=delete
virtual int update_internal(const mat &)
Definition: Integrator.cpp:237
virtual void erase_machine_error(vec &) const
Definition: Integrator.cpp:276
bool allow_to_change_time_step() const
Definition: Integrator.cpp:43
virtual void reset_status()
Definition: Integrator.cpp:298
virtual void update_trial_time(double)
Definition: Integrator.cpp:178
bool matrix_is_assembled() const
Definition: Integrator.cpp:47
virtual vec from_total_velocity(const vec &, const uvec &)
Definition: Integrator.cpp:325
virtual vec get_force_residual()
Definition: Integrator.cpp:123
virtual int correct_trial_status()
Definition: Integrator.cpp:197
void stage_and_commit_status()
Definition: Integrator.cpp:284
A base Tag class.
Definition: Tag.h:38
IntegratorType
Definition: Integrator.h:46