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

#include <Interaction.h>

Inheritance diagram for Interaction:
Collaboration diagram for Interaction:

Public Member Functions

void initialize (const shared_ptr< DomainBase > &)
 
virtual void apply (bool, const shared_ptr< Element > &) const =0
 
virtual void apply (bool, const shared_ptr< InteractionPair > &) const =0
 
 CopyableTag (const CopyableTag &)=default
 
 CopyableTag (CopyableTag &&)=default
 
- Public Member Functions inherited from CopyableTag
 CopyableTag (const CopyableTag &)=default
 
 CopyableTag (CopyableTag &&)=default
 
CopyableTagoperator= (const CopyableTag &)=delete
 
CopyableTagoperator= (CopyableTag &&)=delete
 
 ~CopyableTag () 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 ()
 

Protected Attributes

std::weak_ptr< DomainBasedomain
 

Detailed Description

Author
tlc
Date
01/12/2025
Version
0.1.0

Member Function Documentation

◆ apply() [1/2]

virtual void Interaction::apply ( bool  ,
const shared_ptr< Element > &   
) const
pure virtual

Implemented in Hertzian, and FixedParticle.

◆ apply() [2/2]

virtual void Interaction::apply ( bool  ,
const shared_ptr< InteractionPair > &   
) const
pure virtual

Implemented in Hertzian, and FixedParticle.

◆ CopyableTag() [1/2]

CopyableTag::CopyableTag ( const CopyableTag )
default

◆ CopyableTag() [2/2]

CopyableTag::CopyableTag ( CopyableTag &&  )
default

◆ initialize()

void Interaction::initialize ( const shared_ptr< DomainBase > &  D)

Member Data Documentation

◆ domain

std::weak_ptr<DomainBase> Interaction::domain
protected

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