The affine particle-in-cell method | Synapse