see the USER-SPH user's guide for a detailed explanation of these examples.