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

#include <BCond.h>

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

Public Types

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

Public Member Functions

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

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

Definition at line 538 of file BCond.h.

Constructor & Destructor Documentation

◆ ConstantFace()

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

Definition at line 539 of file BCond.h.

Member Function Documentation

◆ apply() [1/2]

void ExtrapolateFace< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::apply ( Field< T, D, UniformCartesian< D, double > , typename M::DefaultCentering > &  A)
virtualinherited

Definition at line 403 of file BCond.hpp.

◆ apply() [2/2]

virtual void BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::apply ( Field< T, D, UniformCartesian< D, double > , typename M::DefaultCentering > &  )
pure virtualinherited

◆ changesPhysicalCells()

bool BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::changesPhysicalCells ( ) const
inlineinherited

Definition at line 175 of file BCond.h.

◆ clone()

virtual BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering > * ExtrapolateFace< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::clone ( ) const
inlinevirtualinherited

◆ getComponent()

int BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::getComponent ( ) const
inlineinherited

Definition at line 169 of file BCond.h.

◆ getFace()

unsigned int BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::getFace ( ) const
inlineinherited

Definition at line 172 of file BCond.h.

◆ getOffset()

const T & ExtrapolateFace< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::getOffset ( ) const
inlineinherited

Definition at line 414 of file BCond.h.

◆ getSlope()

const T & ExtrapolateFace< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::getSlope ( ) const
inlineinherited

Definition at line 415 of file BCond.h.

◆ write()

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

Reimplemented from ExtrapolateFace< T, D, UniformCartesian< D, double >, typename M::DefaultCentering >.

Definition at line 169 of file BCond.hpp.

References endl().

Here is the call graph for this function:

Member Data Documentation

◆ allComponents

int BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::allComponents
staticinherited

Definition at line 152 of file BCond.h.

◆ m_changePhysical

bool BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::m_changePhysical
protectedinherited

Definition at line 187 of file BCond.h.

◆ m_component

int BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::m_component
protectedinherited

Definition at line 181 of file BCond.h.

◆ m_face

unsigned int BCondBase< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::m_face
protectedinherited

Definition at line 184 of file BCond.h.

◆ Offset

T ExtrapolateFace< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::Offset
protectedinherited

Definition at line 418 of file BCond.h.

◆ RefCount

int RefCounted::RefCount
inherited

Definition at line 21 of file RefCounted.h.

◆ Slope

T ExtrapolateFace< T, D, UniformCartesian< D, double > , typename M::DefaultCentering >::Slope
protectedinherited

Definition at line 418 of file BCond.h.


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