Add a function to truncate a velocity polynomial.
Fix the location of the TMS walls.
Fix per-subdomain checkpoints.