Computational electromagnetics: Casimir force, multiscale calculations, coordinate stretching