Finite element method-enhanced neural network for forward and inverse problems | Synapse