An analytical demonstration of coupling schemes between magnetohydrodynamic codes and eddy current codes