Magnetostatics and micromagnetics with physics informed neural networks | Synapse