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

#include <BCond.h>

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

Public Types

typedef BCondBase< T, D, M, C > BCondBaseTDMC

Public Member Functions

 PeriodicFace (unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void apply (Field< T, D, M, C > &)
virtual BCondBase< T, D, M, C > * clone () const
virtual void write (std::ostream &out) const
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 PeriodicFace< T, D, M, C >

Definition at line 239 of file BCond.h.

Member Typedef Documentation

◆ BCondBaseTDMC

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
typedef BCondBase<T,D,M,C> PeriodicFace< T, D, M, C >::BCondBaseTDMC

Definition at line 246 of file BCond.h.

Constructor & Destructor Documentation

◆ PeriodicFace()

template<class T, unsigned D, class M, class C>
PeriodicFace< T, D, M, C >::PeriodicFace ( unsigned f,
int i = BCondBaseTDMC::allComponents,
int j = BCondBaseTDMC::allComponents )

Member Function Documentation

◆ apply()

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

Implements BCondBase< T, D, M, C >.

Reimplemented in ParallelPeriodicFace< T, D, M, C >.

Definition at line 474 of file BCond.hpp.

References apply(), PeriodicFace(), and PeriodicFaceBCApply().

Referenced by apply().

Here is the call graph for this function:

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

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
virtual BCondBase< T, D, M, C > * PeriodicFace< T, D, M, C >::clone ( ) const
inlinevirtual

Implements BCondBase< T, D, M, C >.

Reimplemented in ParallelPeriodicFace< T, D, M, C >.

Definition at line 256 of file BCond.h.

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

Here is the call graph for this function:

◆ getComponent()

◆ getFace()

◆ write()

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

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

Reimplemented in ParallelPeriodicFace< T, D, M, C >.

Definition at line 113 of file BCond.hpp.

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

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: