suanPan
Modifier Class Referenceabstract

A Modifier class. More...

#include <Modifier.h>

Inheritance diagram for Modifier:
Collaboration diagram for Modifier:

Public Member Functions

 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 ()
 

Protected Attributes

uvec element_tag
 
std::vector< weak_ptr< Element > > element_pool
 

Detailed Description

A Modifier class.

Author
tlc
Date
20/12/2018
Version
0.2.0

Constructor & Destructor Documentation

◆ Modifier() [1/3]

Modifier::Modifier ( unsigned  T = 0,
uvec &&  ET = {} 
)
explicit

◆ Modifier() [2/3]

Modifier::Modifier ( const Modifier )
delete

◆ Modifier() [3/3]

Modifier::Modifier ( Modifier &&  )
delete

◆ ~Modifier()

Modifier::~Modifier ( )
overridedefault

Member Function Documentation

◆ has_nonviscous()

virtual bool Modifier::has_nonviscous ( ) const
inlinevirtual

Reimplemented in ElementalNonviscous.

◆ if_apply()

bool Modifier::if_apply ( const shared_ptr< DomainBase > &  )
virtual

Reimplemented in ModifierDynamics.

◆ initialize()

int Modifier::initialize ( const shared_ptr< DomainBase > &  D)
virtual

Reimplemented in ElementalNonviscous, and ElementalNonviscousGroup.

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

◆ operator=() [1/2]

Modifier & Modifier::operator= ( const Modifier )
delete

◆ operator=() [2/2]

Modifier & Modifier::operator= ( Modifier &&  )
delete

◆ update_status()

virtual int Modifier::update_status ( )
pure virtual

Member Data Documentation

◆ element_pool

std::vector<weak_ptr<Element> > Modifier::element_pool
protected

◆ element_tag

uvec Modifier::element_tag
protected

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