suanPan
ElementalNonviscous Class Reference

A ElementalNonviscous damping class. More...

#include <ElementalNonviscous.h>

Inheritance diagram for ElementalNonviscous:
Collaboration diagram for ElementalNonviscous:

Public Member Functions

 ElementalNonviscous (unsigned, cx_vec &&, cx_vec &&, uvec &&={})
 
bool has_nonviscous () const override
 
int initialize (const shared_ptr< DomainBase > &) override
 
int update_status () override
 
- Public Member Functions inherited from ModifierDynamics
bool if_apply (const shared_ptr< DomainBase > &) override
 
 Modifier (unsigned=0, uvec &&={})
 
 Modifier (const Modifier &)=delete
 
 Modifier (Modifier &&)=delete
 
- Public Member Functions inherited from Modifier
 Modifier (unsigned=0, uvec &&={})
 
 Modifier (const Modifier &)=delete
 
 Modifier (Modifier &&)=delete
 
Modifieroperator= (const Modifier &)=delete
 
Modifieroperator= (Modifier &&)=delete
 
 ~Modifier () override=default
 
virtual bool has_nonviscous () const
 
virtual int initialize (const shared_ptr< DomainBase > &)
 
virtual bool if_apply (const shared_ptr< DomainBase > &)
 
virtual int update_status ()=0
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from Modifier
uvec element_tag
 
std::vector< weak_ptr< Element > > element_pool
 

Detailed Description

A ElementalNonviscous damping class.

Reference: 10.1016/j.ymssp.2024.111156

Author
tlc
Date
02/10/2023
Version
0.2.0

Constructor & Destructor Documentation

◆ ElementalNonviscous()

ElementalNonviscous::ElementalNonviscous ( unsigned  T,
cx_vec &&  M,
cx_vec &&  S,
uvec &&  ET = {} 
)

Member Function Documentation

◆ has_nonviscous()

bool ElementalNonviscous::has_nonviscous ( ) const
inlineoverridevirtual

Reimplemented from Modifier.

◆ initialize()

int ElementalNonviscous::initialize ( const shared_ptr< DomainBase > &  D)
overridevirtual

Reimplemented from Modifier.

Reimplemented in ElementalNonviscousGroup.

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

◆ update_status()

int ElementalNonviscous::update_status ( )
overridevirtual

Implements Modifier.

Here is the call graph for this function:

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