suanPan
LinearViscosity Class Referencefinal

A LinearViscosity damping class. More...

#include <LinearViscosity.h>

Inheritance diagram for LinearViscosity:
Collaboration diagram for LinearViscosity:

Public Member Functions

 LinearViscosity (unsigned, double, uvec &&={})
 
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 LinearViscosity damping class.

Author
tlc
Date
20/08/2022
Version
0.2.0

Constructor & Destructor Documentation

◆ LinearViscosity()

LinearViscosity::LinearViscosity ( unsigned  T,
double  M,
uvec &&  ET = {} 
)

Member Function Documentation

◆ update_status()

int LinearViscosity::update_status ( )
overridevirtual

Implements Modifier.

Here is the call graph for this function:

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