2.2.8.6 fix wall/reflect

Create wall and apply reflection rule when particle cross the wall.

Syntax:

fix          id group-id wall/reflect style options-keyword

Examples:

fix          3 mobile wall/reflect style xlo 0 xhi 40 ylo 0 yhi 40

Description:

If the style bounce_back is used, the position of the particle crossing the wall will be reversed and the direction of its velocity and force components are reversed.

If the style bounce_forward is used, the position of the particle crossing the wall will be specular reflected and the direction of its velocity and force components are reversed.

If the style specular is used, the position of the particle crossing the wall will be specular reflected and only the normal direction of its velocity and force components will be reversed.