A wave-based simulation model for cross-beam energy transfer and stimulated Brillouin scattering in laser–plasma systems | Synapse