suanPan
🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
Loading...
Searching...
No Matches
ExplicitIntegrator Class Reference

#include <Integrator.h>

Inheritance diagram for ExplicitIntegrator:
Collaboration diagram for ExplicitIntegrator:

Public Member Functions

Type type () const final
 
void assemble_resistance () override
 
void assemble_matrix () override
 
void assemble_effective_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 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)
 
virtual void update_incre_time (double)
 
virtual int update_trial_status (bool)
 
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 commit_status ()
 
virtual void clear_status ()
 
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
 
virtual void print ()
 

Additional Inherited Members

- Public Types inherited from Integrator
enum class  Type { Implicit , Explicit }
 
- Protected Member Functions inherited from Integrator
virtual void update_parameter (double)
 
virtual int process_load_impl (bool)
 
virtual int process_constraint_impl (bool)
 
virtual bool has_corrector () const
 
virtual int correct_trial_status ()
 

Member Function Documentation

◆ assemble_effective_matrix()

void ExplicitIntegrator::assemble_effective_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.

◆ assemble_matrix()

void ExplicitIntegrator::assemble_matrix ( )
overridevirtual

Assemble global matrices such as stiffness, mass, damping and geometry matrices. This method should come with the companion method assemble_effective_matrix().

Reimplemented from Integrator.

Here is the call graph for this function:

◆ assemble_resistance()

void ExplicitIntegrator::assemble_resistance ( )
overridevirtual

Reimplemented from Integrator.

Reimplemented in GeneralizedAlphaExplicit.

Here is the call graph for this function:

◆ from_incre_acceleration()

vec ExplicitIntegrator::from_incre_acceleration ( const vec &  ,
const uvec encoding 
)
overridevirtual

When external loads are applied, they can be applied in forms of displacement/velocity/acceleration. The time integration methods, by default, form effective stiffness matrices in displacement domain. That is, in AX=B, A is the effective stiffness matrix and X is the displacement increment. Thus, loads in velocity/acceleration must be converted to displacement. This cannot be done arbitrarily due to compatibility issues. This method takes acceleration increment and converts it to TOTAL displacement.

Reimplemented from Integrator.

Reimplemented in GeneralizedAlphaExplicit, GERKN, and GSSE.

Here is the call graph for this function:

◆ from_incre_velocity()

vec ExplicitIntegrator::from_incre_velocity ( const vec &  ,
const uvec encoding 
)
overridevirtual

When external loads are applied, they can be applied in forms of displacement/velocity/acceleration. The time integration methods, by default, form effective stiffness matrices in displacement domain. That is, in AX=B, A is the effective stiffness matrix and X is the displacement increment. Thus, loads in velocity/acceleration must be converted to displacement. This cannot be done arbitrarily due to compatibility issues. This method takes velocity increment and converts it to TOTAL displacement.

Reimplemented from Integrator.

◆ from_total_acceleration()

vec ExplicitIntegrator::from_total_acceleration ( const vec &  total_acceleration,
const uvec  
)
overridevirtual

Reimplemented from Integrator.

Reimplemented in GeneralizedAlphaExplicit, GERKN, and GSSE.

◆ get_trial_displacement()

const vec & ExplicitIntegrator::get_trial_displacement ( ) const
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ Integrator()

Integrator::Integrator ( unsigned  T = 0)
explicit

◆ solve() [1/4]

int ExplicitIntegrator::solve ( mat &  X,
const mat &  B 
)
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ solve() [2/4]

int ExplicitIntegrator::solve ( mat &  X,
const sp_mat &  B 
)
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ solve() [3/4]

int ExplicitIntegrator::solve ( mat &  X,
mat &&  B 
)
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ solve() [4/4]

int ExplicitIntegrator::solve ( mat &  X,
sp_mat &&  B 
)
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

◆ type()

Type ExplicitIntegrator::type ( ) const
inlinefinalvirtual

Reimplemented from Integrator.

◆ update_from_ninja()

void ExplicitIntegrator::update_from_ninja ( )
overridevirtual

Reimplemented from Integrator.

Here is the call graph for this function:

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