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