Physics-guided generative design with gradient-based source-space optimization on flow matching | Synapse