OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
PatchBC< T, D, M, C > Class Template Referenceabstract

#include <BCond.h>

Inheritance diagram for PatchBC< T, D, M, C >:
Collaboration diagram for PatchBC< T, D, M, C >:

Public Member Functions

 PatchBC (unsigned face)
void apply (Field< T, D, M, C > &)
virtual void applyPatch (typename Field< T, D, M, C >::iterator, const NDIndex< D > &)=0
virtual void write (std::ostream &out) const
virtual BCondBase< T, D, M, C > * clone () const =0
int getComponent () const
unsigned int getFace () const
bool changesPhysicalCells () const

Public Attributes

int RefCount

Static Public Attributes

static int allComponents

Protected Attributes

int m_component
unsigned int m_face
bool m_changePhysical

Detailed Description

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
class PatchBC< T, D, M, C >

Definition at line 835 of file BCond.h.

Constructor & Destructor Documentation

◆ PatchBC()

template<class T, unsigned D, class M, class C>
PatchBC< T, D, M, C >::PatchBC ( unsigned face)

Definition at line 6103 of file BCond.hpp.

References BCondBase< T, D, M, C >::BCondBase().

Here is the call graph for this function:

Member Function Documentation

◆ apply()

◆ applyPatch()

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
virtual void PatchBC< T, D, M, C >::applyPatch ( typename Field< T, D, M, C >::iterator ,
const NDIndex< D > &  )
pure virtual

Referenced by apply().

◆ changesPhysicalCells()

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

Definition at line 175 of file BCond.h.

◆ clone()

◆ getComponent()

◆ getFace()

◆ write()

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
virtual void PatchBC< T, D, M, C >::write ( std::ostream & out) const
inlinevirtual

Reimplemented from BCondBase< T, D, M, C >.

Definition at line 859 of file BCond.h.

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

Here is the call graph for this function:

Member Data Documentation

◆ allComponents

◆ m_changePhysical

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

◆ m_component

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

Definition at line 181 of file BCond.h.

Referenced by BCondBase().

◆ m_face

◆ RefCount

int RefCounted::RefCount
inherited

Definition at line 21 of file RefCounted.h.

Referenced by RefCounted().


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