Simulating dynamic plastic continuous neural networks by finite elements