suanPan
Loading...
Searching...
No Matches
BatheExplicit Class Referencefinal

A BatheExplicit class defines a solver using BatheExplicit algorithm. More...

#include <BatheExplicit.h>

Inheritance diagram for BatheExplicit:
Collaboration diagram for BatheExplicit:

Public Member Functions

 BatheExplicit (unsigned, double)
 
void update_incre_time (double) override
 
int update_trial_status (bool) override
 
void commit_status () override
 
void clear_status () override
 
void print () override
 
- Public Member Functions inherited from ExplicitIntegrator
constexpr IntegratorType type () const override
 
void assemble_resistance () override
 
void assemble_matrix () override
 
const vec & get_trial_displacement () const override
 
void update_from_ninja () override
 
int solve (mat &, const mat &) override
 
int solve (mat &, const sp_mat &) override
 
int solve (mat &, mat &&) override
 
int solve (mat &, sp_mat &&) override
 
vec from_incre_velocity (const vec &, const uvec &) override
 
vec from_incre_acceleration (const vec &, const uvec &) override
 
vec from_total_acceleration (const vec &, const uvec &) override
 
 Integrator (unsigned=0)
 
- Public Member Functions inherited from Integrator
 Integrator (unsigned=0)
 
void set_domain (const std::weak_ptr< DomainBase > &)
 
shared_ptr< DomainBaseget_domain () const
 
virtual int initialize ()
 
void set_time_step_switch (bool)
 
bool allow_to_change_time_step () const
 
void set_matrix_assembled_switch (bool)
 
bool matrix_is_assembled () const
 
virtual bool time_independent_matrix () const
 
int process_load ()
 
virtual int process_constraint ()
 
int process_criterion () const
 
int process_modifier () const
 
int process_load_resistance ()
 
virtual int process_constraint_resistance ()
 
void record () const
 
virtual vec get_force_residual ()
 
virtual vec get_displacement_residual ()
 
vec get_auxiliary_residual () const
 
virtual sp_mat get_reference_load ()
 
void update_load () const
 
void update_constraint () const
 
void update_trial_load_factor (double) const
 
void update_trial_load_factor (const vec &) const
 
void update_trial_time (double)
 
int sync_status (bool)
 
virtual int update_internal (const mat &)
 
mat solve (const mat &)
 
mat solve (const sp_mat &)
 
mat solve (mat &&)
 
mat solve (sp_mat &&)
 
void erase_machine_error (vec &) const
 
void stage_and_commit_status ()
 
void stage_status () const
 
virtual void reset_status ()
 
virtual vec from_total_velocity (const vec &, const uvec &)
 
vec from_incre_velocity (double, const uvec &)
 
vec from_incre_acceleration (double, const uvec &)
 
vec from_total_velocity (double, const uvec &)
 
vec from_total_acceleration (double, const uvec &)
 
- Public Member Functions inherited from UniqueTag
 UniqueTag (const UniqueTag &)=delete
 
 UniqueTag (UniqueTag &&)=delete
 
UniqueTagoperator= (const UniqueTag &)=delete
 
UniqueTagoperator= (UniqueTag &&)=delete
 
 ~UniqueTag () override=default
 
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&) noexcept=default
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&) noexcept=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 

Protected Member Functions

void update_parameter (double) override
 
bool has_corrector () const override
 
int correct_trial_status () override
 
- Protected Member Functions inherited from Integrator
virtual int process_load_impl (bool)
 
virtual int process_constraint_impl (bool)
 

Detailed Description

A BatheExplicit class defines a solver using BatheExplicit algorithm.

Author
tlc
Date
03/12/2022
Version
0.1.0

Constructor & Destructor Documentation

◆ BatheExplicit()

BatheExplicit::BatheExplicit ( unsigned  T,
double  R 
)

Member Function Documentation

◆ clear_status()

void BatheExplicit::clear_status ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ commit_status()

void BatheExplicit::commit_status ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ correct_trial_status()

int BatheExplicit::correct_trial_status ( )
overrideprotectedvirtual

Correct the trial status. This method is called when the integrator has a corrector. It is used to correct the trial status after the computation. The default implementation does nothing and returns success. Override this method to implement the corrector.

Reimplemented from Integrator.

Here is the call graph for this function:

◆ has_corrector()

bool BatheExplicit::has_corrector ( ) const
overrideprotectedvirtual

Indicate whether the integrator has a corrector. Some time integration methods adopt predictor-corrector type scheme. The final committed state is different from the one used in computation. Override this method to indicate whether the integrator has a corrector. If it returns true, the correct_trial_status() method will be called thus has to be implemented.

Reimplemented from Integrator.

◆ print()

void BatheExplicit::print ( )
overridevirtual

Reimplemented from Tag.

◆ update_incre_time()

void BatheExplicit::update_incre_time ( double  T)
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ update_parameter()

void BatheExplicit::update_parameter ( double  )
overrideprotectedvirtual

When time step changes, some parameters may need to be updated.

Reimplemented from Integrator.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_trial_status()

int BatheExplicit::update_trial_status ( bool  )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

The documentation for this class was generated from the following files: