Title :
Applying Software Design Patterns in Electromagnetic Field Simulators [EM Programmer´s Notebook]
Author :
Zhu, Guangran Kevin
Author_Institution :
Edward S. Rogers Sr. Dept. of Electr. & Comput. Eng., Univ. of Toronto, Toronto, ON, Canada
fDate :
4/1/2012 12:00:00 AM
Abstract :
Object-oriented programming has been promoted as a programming style that brings reusability, extensibility, and maintainability to codes. Software design patterns are solutions that address recurring design problems, and are generally considered the most appropriate practice of object-oriented programming. Developing computational electromagnetic software is not devoid of these design problems. This paper identifies three design problems and their corresponding solutions, namely, strategy pattern, observer pattern, and bridge pattern. These design patterns incur computational cost associated with the implementation of objects in the programming languages. They should be judiciously avoided in the solver, and more liberally applied in less computationally demanding components of electromagnetic software.
Keywords :
computational electromagnetics; electromagnetic fields; object-oriented methods; object-oriented programming; observers; bridge pattern; computational electromagnetic software; design problems; electromagnetic field simulators; object-oriented programming; observer pattern; programming languages; programming style; software design patterns; strategy pattern; Computational electromagnetics; Computer languages; Electromagnetic fields; Object oriented modeling; Object oriented programming; Software design; Software quality; Time domain analysis; Computational electromagnetics; design patterns; object oriented programming; software quality; software reusability;
Journal_Title :
Antennas and Propagation Magazine, IEEE
DOI :
10.1109/MAP.2012.6230741