There are various methods to numerically determine the potential or electric field for given boundary conditions (Dirichlet, Neumann): finite differences method, finite elements etc. But is there a method which allows to compute the boundary conditions for a given potential distribution and for a given spatial setup of electrodes?
In other words, what is the electrode (boundary) potential for a given potential distribution inside the volume?