FreePOOMA
2.4.1
|
Here is an example of adding a new particle boundary condition. More...
#include <AbsorbBC.h>
Public Member Functions | |
AbsorbBC (T min, T max) | |
AbsorbBC (const AbsorbBC< T > &model) | |
~AbsorbBC () | |
AbsorbBC< T > & | operator= (const AbsorbBC< T > &rhs) |
T | min () const |
T | max () const |
T & | min () |
T & | max () |
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.
References AbsorbBC< T >::max(), and AbsorbBC< T >::min().
Referenced by AbsorbBC< T >::operator=().
Referenced by AbsorbBC< T >::operator=().