Parallel methods for large-scale applications in computational electromagnetics and materials science