ReverseBC.h File Reference

A reversing boundary condition for Particles. More...

#include "Particles/ParticleBC.h"
#include <iostream>
#include "Particles/ReverseBC.cpp"

Include dependency graph for ReverseBC.h:

This graph shows which files directly or indirectly include this file:


Classes

class  ReverseBC< T >
 Here is an example of adding a new particle boundary condition. More...
class  ParticleBC< Subject, Object, ReverseBC< T > >

Detailed Description

A reversing boundary condition for Particles.

When subject Attribute value goes outside boundary by some amount, ReverseBC sets value to be inside boundary by that amount. In addition, it flips the sign of the object Attribute. The typical use for this would be to bounce a particle off of a wall by replacing it inside the wall and reversing its velocity.


Generated on Wed Mar 16 06:18:59 2011 for FreePOOMA by  doxygen 1.5.9