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

#include <BCond.h>

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

Public Types

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

Public Member Functions

 NegReflectAndZeroFace (unsigned f, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
virtual void write (std::ostream &out) const
virtual void apply (Field< T, D, M, C > &)
virtual BCondBase< T, D, M, C > * clone () const
const T & getOffset () const
const T & getSlope () const
int getComponent () const
unsigned int getFace () const
bool changesPhysicalCells () const

Public Attributes

int RefCount

Static Public Attributes

static int allComponents

Protected Attributes

Offset
Slope
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 NegReflectAndZeroFace< T, D, M, C >

Definition at line 516 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> NegReflectAndZeroFace< T, D, M, C >::BCondBaseTDMC

Definition at line 519 of file BCond.h.

Constructor & Destructor Documentation

◆ NegReflectAndZeroFace()

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
NegReflectAndZeroFace< T, D, M, C >::NegReflectAndZeroFace ( unsigned f,
int i = BCondBaseTDMC::allComponents,
int j = BCondBaseTDMC::allComponents )
inline

Definition at line 520 of file BCond.h.

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

Here is the call graph for this function:

Member Function Documentation

◆ apply()

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

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

Definition at line 3612 of file BCond.hpp.

References apply(), ExtrapolateAndZeroFace(), and ExtrapolateAndZeroFaceBCApply().

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 > * ExtrapolateAndZeroFace< T, D, M, C >::clone ( ) const
inlinevirtualinherited

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

Definition at line 450 of file BCond.h.

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

Here is the call graph for this function:

◆ getComponent()

◆ getFace()

◆ getOffset()

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
const T & ExtrapolateAndZeroFace< T, D, M, C >::getOffset ( ) const
inlineinherited

Definition at line 458 of file BCond.h.

References Offset.

Referenced by ExtrapolateAndZeroFaceBCApply2().

◆ getSlope()

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
const T & ExtrapolateAndZeroFace< T, D, M, C >::getSlope ( ) const
inlineinherited

Definition at line 459 of file BCond.h.

References Slope.

Referenced by ExtrapolateAndZeroFaceBCApply2().

◆ write()

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

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

Definition at line 145 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

◆ Offset

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

Definition at line 462 of file BCond.h.

Referenced by ExtrapolateAndZeroFace(), getOffset(), and write().

◆ RefCount

int RefCounted::RefCount
inherited

Definition at line 21 of file RefCounted.h.

Referenced by RefCounted().

◆ Slope

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

Definition at line 462 of file BCond.h.

Referenced by ExtrapolateAndZeroFace(), getSlope(), and write().


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