PeriodicBC< T > Class Template Reference

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

#include <PeriodicBC.h>

Inheritance diagram for PeriodicBC< T >:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

template<class T>
class PeriodicBC< 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>
PeriodicBC< T >::PeriodicBC ( min,
max 
) [inline]

template<class T>
PeriodicBC< T >::PeriodicBC ( const PeriodicBC< T > &  model  )  [inline]

template<class T>
PeriodicBC< T >::~PeriodicBC (  )  [inline]


Member Function Documentation

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

template<class T>
T PeriodicBC< T >::min (  )  const [inline]

template<class T>
T PeriodicBC< T >::max (  )  const [inline]

template<class T>
T& PeriodicBC< T >::min (  )  [inline]

template<class T>
T& PeriodicBC< T >::max (  )  [inline]


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

Generated on Wed Mar 16 06:20:26 2011 for FreePOOMA by  doxygen 1.5.9