suanPan
GeneralizedAlphaExplicit Class Referencefinal

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

#include <GeneralizedAlphaExplicit.h>

Inheritance diagram for GeneralizedAlphaExplicit:
Collaboration diagram for GeneralizedAlphaExplicit:

Public Member Functions

 GeneralizedAlphaExplicit (unsigned, double)
 
bool has_corrector () const override
 
void assemble_resistance () override
 
void assemble_matrix () override
 
vec get_force_residual () override
 
vec get_displacement_residual () override
 
sp_mat get_reference_load () override
 
int process_load () override
 
int process_constraint () override
 
int process_load_resistance () override
 
int process_constraint_resistance () override
 
int update_trial_status () override
 
int correct_trial_status () override
 
void update_parameter (double) override
 
void print () override
 
- Public Member Functions inherited from ExplicitIntegrator
constexpr IntegratorType type () const 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)
 
 Integrator (const Integrator &)=delete
 
 Integrator (Integrator &&)=delete
 
- Public Member Functions inherited from Integrator
 Integrator (unsigned=0)
 
 Integrator (const Integrator &)=delete
 
 Integrator (Integrator &&)=delete
 
Integratoroperator= (const Integrator &)=delete
 
Integratoroperator= (Integrator &&)=delete
 
 ~Integrator () override=default
 
void set_domain (const weak_ptr< DomainBase > &)
 
shared_ptr< DomainBaseget_domain () const
 
virtual int initialize ()
 
virtual constexpr IntegratorType type () const
 
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 has_corrector () const
 
virtual bool time_independent_matrix () const
 
virtual int process_load ()
 
virtual int process_constraint ()
 
virtual int process_criterion ()
 
virtual int process_modifier ()
 
virtual int process_load_resistance ()
 
virtual int process_constraint_resistance ()
 
void record () const
 
virtual void assemble_resistance ()
 
virtual void assemble_matrix ()
 
virtual vec get_force_residual ()
 
virtual vec get_displacement_residual ()
 
virtual vec get_auxiliary_residual ()
 
virtual sp_mat get_reference_load ()
 
virtual const vec & get_trial_displacement () const
 
virtual void update_load ()
 
virtual void update_constraint ()
 
virtual void update_trial_load_factor (double)
 
virtual void update_trial_load_factor (const vec &)
 
virtual void update_from_ninja ()
 
virtual void update_trial_time (double)
 
virtual void update_incre_time (double)
 
virtual int update_trial_status ()
 
virtual int correct_trial_status ()
 
virtual 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 &&)
 
virtual int solve (mat &, const mat &)
 
virtual int solve (mat &, const sp_mat &)
 
virtual int solve (mat &, mat &&)
 
virtual int solve (mat &, sp_mat &&)
 
virtual void erase_machine_error (vec &) const
 
void stage_and_commit_status ()
 
virtual void stage_status ()
 
virtual void commit_status ()
 
virtual void clear_status ()
 
virtual void reset_status ()
 
virtual void update_parameter (double)
 
virtual vec from_incre_velocity (const vec &, const uvec &)
 
virtual vec from_incre_acceleration (const vec &, const uvec &)
 
virtual vec from_total_velocity (const vec &, const uvec &)
 
virtual vec from_total_acceleration (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 Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=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
 
virtual void print ()
 

Detailed Description

A GeneralizedAlphaExplicit class defines a solver using GeneralizedAlphaExplicit algorithm.

Author
tlc
Date
03/12/2022
Version
0.1.0

Constructor & Destructor Documentation

◆ GeneralizedAlphaExplicit()

GeneralizedAlphaExplicit::GeneralizedAlphaExplicit ( unsigned  T,
double  R 
)

Member Function Documentation

◆ assemble_matrix()

void GeneralizedAlphaExplicit::assemble_matrix ( )
overridevirtual

Assemble the global effective matrix A in AX=B. For FEM applications, it is often a linear combination of stiffness, mass, damping and geometry matrices.

Reimplemented from Integrator.

Here is the call graph for this function:

◆ assemble_resistance()

void GeneralizedAlphaExplicit::assemble_resistance ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ correct_trial_status()

int GeneralizedAlphaExplicit::correct_trial_status ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ get_displacement_residual()

vec GeneralizedAlphaExplicit::get_displacement_residual ( )
overridevirtual

Assemble the global residual vector in displacement-controlled solving schemes. Apart from the global resistance and external load vectors, the reference load vector shall also be considered.

Reimplemented from Integrator.

Here is the call graph for this function:

◆ get_force_residual()

vec GeneralizedAlphaExplicit::get_force_residual ( )
overridevirtual

Assemble the global residual vector in load-controlled solving schemes.

Reimplemented from Integrator.

Here is the call graph for this function:

◆ get_reference_load()

sp_mat GeneralizedAlphaExplicit::get_reference_load ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ has_corrector()

bool GeneralizedAlphaExplicit::has_corrector ( ) const
overridevirtual

Reimplemented from Integrator.

◆ print()

void GeneralizedAlphaExplicit::print ( )
overridevirtual

Reimplemented from Tag.

◆ process_constraint()

int GeneralizedAlphaExplicit::process_constraint ( )
overridevirtual

The main task of this method is to apply constraints (of various forms implemented in various methods). Combinations of different types need to be considered: 1) homogeneous, 2) inhomogeneous, 3) linear, 4) nonlinear. Combinations of different methods need to be considered: 1) penalty, 2) multiplier. On exit, the global stiffness matrix should be updated, the global residual vector should be updated.

Reimplemented from Integrator.

Here is the call graph for this function:

◆ process_constraint_resistance()

int GeneralizedAlphaExplicit::process_constraint_resistance ( )
overridevirtual

This method is similar to process_constraint(), but it only updates the global residual vector. The global stiffness matrix is not touched as in some solving schemes, the global stiffness matrix is only assembled and factorised once at the beginning. Subsequent iterations do not assemble the global stiffness matrix again and reuse the factorised matrix. In this case, the factorised matrix cannot be modified.

Reimplemented from Integrator.

Here is the call graph for this function:

◆ process_load()

int GeneralizedAlphaExplicit::process_load ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ process_load_resistance()

int GeneralizedAlphaExplicit::process_load_resistance ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ update_parameter()

void GeneralizedAlphaExplicit::update_parameter ( double  )
overridevirtual

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

Reimplemented from Integrator.

◆ update_trial_status()

int GeneralizedAlphaExplicit::update_trial_status ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

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