OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
BCondBase< T, D, M, C > Class Template Referenceabstract

#include <BCond.h>

Inheritance diagram for BCondBase< T, D, M, C >:
Inheritance graph
[legend]
Collaboration diagram for BCondBase< T, D, M, C >:
Collaboration graph
[legend]

Public Member Functions

 BCondBase (unsigned int face, int i=allComponents, int j=allComponents)
 
virtual ~BCondBase ()
 
virtual void apply (Field< T, D, M, C > &)=0
 
virtual BCondBase< T, D, M, C > * clone () const =0
 
virtual void write (std::ostream &) const
 
int getComponent () const
 
unsigned int getFace () const
 
bool changesPhysicalCells () const
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 

Static Public Attributes

static int allComponents = -9999
 

Protected Attributes

int m_component
 
unsigned int m_face
 
bool m_changePhysical
 

Additional Inherited Members

- Public Attributes inherited from RefCounted
int RefCount
 

Detailed Description

template<class T, unsigned D, class M, class C>
class BCondBase< T, D, M, C >

Definition at line 147 of file BCond.h.

Constructor & Destructor Documentation

◆ BCondBase()

template<class T , unsigned int D, class M , class C >
BCondBase< T, D, M, C >::BCondBase ( unsigned int  face,
int  i = allComponents,
int  j = allComponents 
)

◆ ~BCondBase()

template<class T , unsigned D, class M , class C >
virtual BCondBase< T, D, M, C >::~BCondBase ( )
inlinevirtual

Definition at line 161 of file BCond.h.

Member Function Documentation

◆ apply()

template<class T , unsigned D, class M , class C >
virtual void BCondBase< T, D, M, C >::apply ( Field< T, D, M, C > &  )
pure virtual

◆ changesPhysicalCells()

template<class T , unsigned D, class M , class C >
bool BCondBase< T, D, M, C >::changesPhysicalCells ( ) const
inline

Definition at line 175 of file BCond.h.

References BCondBase< T, D, M, C >::m_changePhysical.

◆ clone()

template<class T , unsigned D, class M , class C >
virtual BCondBase<T,D,M,C>* BCondBase< T, D, M, C >::clone ( ) const
pure virtual

◆ getComponent()

template<class T , unsigned D, class M , class C >
int BCondBase< T, D, M, C >::getComponent ( ) const
inline

◆ getFace()

template<class T , unsigned D, class M , class C >
unsigned int BCondBase< T, D, M, C >::getFace ( ) const
inline

◆ write()

template<class T , unsigned int D, class M , class C >
void BCondBase< T, D, M, C >::write ( std::ostream &  out) const
virtual

Member Data Documentation

◆ allComponents

template<class T , unsigned D, class M , class C >
int BCondBase< T, D, M, C >::allComponents = -9999
static

Definition at line 152 of file BCond.h.

◆ m_changePhysical

template<class T , unsigned D, class M , class C >
bool BCondBase< T, D, M, C >::m_changePhysical
protected

Definition at line 187 of file BCond.h.

Referenced by BCondBase< T, D, M, C >::changesPhysicalCells().

◆ m_component

template<class T , unsigned D, class M , class C >
int BCondBase< T, D, M, C >::m_component
protected

◆ m_face

template<class T , unsigned D, class M , class C >
unsigned int BCondBase< T, D, M, C >::m_face
protected

Definition at line 184 of file BCond.h.

Referenced by BCondBase< T, D, M, C >::getFace().


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