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

#include <BCond.h>

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

Public Types

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

Public Member Functions

 ComponentFunctionFace (typename ApplyToComponentType< T >::type(*func)(typename ApplyToComponentType< T >::type), unsigned face, int i=BCondBaseTDMC::allComponents, int j=BCondBaseTDMC::allComponents)
void apply (Field< T, D, M, C > &)
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

ApplyToComponentType< T >::type(* Func )(typename ApplyToComponentType< T >::type)
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 ComponentFunctionFace< T, D, M, C >

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

Definition at line 663 of file BCond.h.

Constructor & Destructor Documentation

◆ ComponentFunctionFace()

template<class T, unsigned D, class M, class C>
ComponentFunctionFace< T, D, M, C >::ComponentFunctionFace ( typename ApplyToComponentType< T >::type(* func )(typename ApplyToComponentType< T >::type),
unsigned face,
int i = BCondBaseTDMC::allComponents,
int j = BCondBaseTDMC::allComponents )

Definition at line 326 of file BCond.hpp.

References BCondBase< T, D, M, C >::allComponents, BCondBase< T, D, M, C >::BCondBase(), endl(), ERRORMSG, and Func.

Referenced by apply(), and clone().

Here is the call graph for this function:

Member Function Documentation

◆ apply()

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

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

Definition at line 4993 of file BCond.hpp.

References apply(), ComponentFunctionFace(), and ComponentFunctionFaceBCApply().

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>
BCondBase< T, D, M, C > * ComponentFunctionFace< T, D, M, C >::clone ( ) const
inlinevirtual

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

Definition at line 672 of file BCond.h.

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

Here is the call graph for this function:

◆ getComponent()

◆ getFace()

◆ write()

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

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

Definition at line 190 of file BCond.hpp.

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

Member Data Documentation

◆ allComponents

◆ Func

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
ApplyToComponentType< T >::type(* ComponentFunctionFace< T, D, M, C >::Func) (typename ApplyToComponentType< T >::type)

◆ 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: