Fixed boundary condition

In fixed boundary condition, if an atom moves outside the face it is deleted on the next timestep. Is there any way we can prevent atoms to get lost from box as I am using fixed boundary condition only in one direction? The other two direction are periodic for my case.

Use a wall. See fix wall/*, etc.

Steve