Electromagnetic and electrical modeling by the finite element method | Synapse