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

#include <BCond.h>

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

Public Member Functions

 FunctionFace (T(*func)(const T &), unsigned face)
 
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, M, C >
 BCondBase (unsigned int face, int i=allComponents, int j=allComponents)
 
virtual ~BCondBase ()
 
int getComponent () const
 
unsigned int getFace () const
 
bool changesPhysicalCells () const
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 

Public Attributes

T(* Func )(const T &)
 
- Public Attributes inherited from RefCounted
int RefCount
 

Additional Inherited Members

- Static Public Attributes inherited from BCondBase< T, D, M, C >
static int allComponents = -9999
 
- Protected Attributes inherited from BCondBase< T, D, M, C >
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 FunctionFace< T, D, M, C >

Definition at line 649 of file BCond.h.

Constructor & Destructor Documentation

template<class T , unsigned D, class M , class C >
FunctionFace< T, D, M, C >::FunctionFace ( T(*)(const T &)  func,
unsigned  face 
)

Definition at line 333 of file BCond.hpp.

Member Function Documentation

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

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

Definition at line 4566 of file BCond.hpp.

References FunctionFaceBCApply().

Here is the call graph for this function:

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

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

Definition at line 663 of file BCond.h.

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

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

Definition at line 199 of file BCond.hpp.

Member Data Documentation

template<class T, unsigned D, class M = UniformCartesian<D,double>, class C = typename M::DefaultCentering>
T(* FunctionFace< T, D, M, C >::Func)(const T &)

Definition at line 678 of file BCond.h.

Referenced by FunctionFaceBCApply().


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