A unified approach for subspace simulation of deformable bodies in multiple domains | Synapse