OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Types | Public Member Functions | Public Attributes | List of all members
ComponentFunctionFace< T, D, M, C > Class Template Reference

#include <BCond.h>

Inheritance diagram for ComponentFunctionFace< T, D, M, C >:
Inheritance graph
[legend]
Collaboration diagram for ComponentFunctionFace< T, D, M, C >:
Collaboration graph
[legend]

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
 
- Public Member Functions inherited from BCondBase< T, D, UniformCartesian< D, double >, typename M::DefaultCentering >
 BCondBase (unsigned int face, int i=allComponents, int j=allComponents)
 
virtual ~BCondBase ()
 
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=0
 
virtual void write (std::ostream &) const
 
int getComponent () const
 
unsigned int getFace () const
 
bool changesPhysicalCells () const
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 

Public Attributes

ApplyToComponentType< T >::type(* Func )(typename ApplyToComponentType< T >::type)
 
- Public Attributes inherited from RefCounted
int RefCount
 

Additional Inherited Members

- Static Public Attributes inherited from BCondBase< T, D, UniformCartesian< D, double >, typename M::DefaultCentering >
static int allComponents
 
- Protected Attributes inherited from BCondBase< T, D, UniformCartesian< D, double >, typename M::DefaultCentering >
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(*)(typename ApplyToComponentType< T >::type)  func,
unsigned  face,
int  i = BCondBaseTDMC::allComponents,
int  j = BCondBaseTDMC::allComponents 
)

Definition at line 326 of file BCond.hpp.

References endl(), and ERRORMSG.

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)

Definition at line 4986 of file BCond.hpp.

References ComponentFunctionFaceBCApply().

Here is the call graph for this function:

◆ 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

◆ write()

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

Member Data Documentation

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

Definition at line 681 of file BCond.h.

Referenced by ComponentFunctionFaceBCApply().


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