ug4
ug::PeriodicAttachmentAccessor< TElem, TAttachment > Class Template Reference

Accesses attachements with consideration to periodic boundaries. More...

#include <periodic_boundary_manager.h>

Public Types

typedef attachment_value_traits< ValueType >::const_reference ConstRefType
 
typedef attachment_value_traits< ValueType >::reference RefType
 
typedef TAttachment::ValueType ValueType
 

Public Member Functions

bool access (Grid &g, TAttachment &a)
 
RefType operator[] (TElem *e)
 
ConstRefType operator[] (TElem *e) const
 
 PeriodicAttachmentAccessor ()
 
 PeriodicAttachmentAccessor (Grid &g, TAttachment &a)
 
 PeriodicAttachmentAccessor (PeriodicBoundaryManager &pbm)
 

Private Attributes

Grid::AttachmentAccessor< TElem, TAttachment > m_aa
 
PeriodicBoundaryManagerm_pbm
 

Detailed Description

template<class TElem, class TAttachment>
class ug::PeriodicAttachmentAccessor< TElem, TAttachment >

Accesses attachements with consideration to periodic boundaries.

Slave element redirects to related master element also works in case of no periodic boundary conditions (but is then probably slower than standard attachment accessor)

Member Typedef Documentation

◆ ConstRefType

template<class TElem , class TAttachment >
typedef attachment_value_traits<ValueType>::const_reference ug::PeriodicAttachmentAccessor< TElem, TAttachment >::ConstRefType

◆ RefType

template<class TElem , class TAttachment >
typedef attachment_value_traits<ValueType>::reference ug::PeriodicAttachmentAccessor< TElem, TAttachment >::RefType

◆ ValueType

template<class TElem , class TAttachment >
typedef TAttachment::ValueType ug::PeriodicAttachmentAccessor< TElem, TAttachment >::ValueType

Constructor & Destructor Documentation

◆ PeriodicAttachmentAccessor() [1/3]

template<class TElem , class TAttachment >
ug::PeriodicAttachmentAccessor< TElem, TAttachment >::PeriodicAttachmentAccessor ( )
inline

◆ PeriodicAttachmentAccessor() [2/3]

template<class TElem , class TAttachment >
ug::PeriodicAttachmentAccessor< TElem, TAttachment >::PeriodicAttachmentAccessor ( Grid g,
TAttachment &  a 
)
inline

◆ PeriodicAttachmentAccessor() [3/3]

template<class TElem , class TAttachment >
ug::PeriodicAttachmentAccessor< TElem, TAttachment >::PeriodicAttachmentAccessor ( PeriodicBoundaryManager pbm)
inline

Member Function Documentation

◆ access()

◆ operator[]() [1/2]

◆ operator[]() [2/2]

Member Data Documentation

◆ m_aa

template<class TElem , class TAttachment >
Grid::AttachmentAccessor<TElem, TAttachment> ug::PeriodicAttachmentAccessor< TElem, TAttachment >::m_aa
private

◆ m_pbm


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