FreePOOMA  2.4.1
Public Member Functions
ReverseBC< T > Class Template Reference

Here is an example of adding a new particle boundary condition. More...

#include <ReverseBC.h>

Inheritance diagram for ReverseBC< T >:
Inheritance graph
[legend]
Collaboration diagram for ReverseBC< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ReverseBC (T min, T max)
 ReverseBC (const ReverseBC< T > &model)
 ~ReverseBC ()
ReverseBC< T > & operator= (const ReverseBC< T > &rhs)
min () const
max () const
T & min ()
T & max ()

Detailed Description

template<class T>
class ReverseBC< T >

Here is an example of adding a new particle boundary condition.

First, add a BCType that inherits from ParticleBCType, describes a boundary condition, and stores any data that is needed. Then, we specialize ParticleBC for this BCType.


Constructor & Destructor Documentation

template<class T>
ReverseBC< T >::ReverseBC ( min,
max 
) [inline]
template<class T>
ReverseBC< T >::ReverseBC ( const ReverseBC< T > &  model) [inline]
template<class T>
ReverseBC< T >::~ReverseBC ( ) [inline]

Member Function Documentation

template<class T>
ReverseBC<T>& ReverseBC< T >::operator= ( const ReverseBC< T > &  rhs) [inline]
template<class T>
T ReverseBC< T >::min ( ) const [inline]
template<class T>
T ReverseBC< T >::max ( ) const [inline]
template<class T>
T& ReverseBC< T >::min ( ) [inline]
template<class T>
T& ReverseBC< T >::max ( ) [inline]

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