Abstract:
© 2019, Springer Nature Switzerland AG. Three-dimensional problems of computational electrodynamics for the regions of complex shape can be solved within the reasonable time only using multiprocessor computer systems. The paper discusses the process of converting sequential algorithms into more efficient programs using some special techniques, including object-oriented programming concepts. The special classes for data storage are recommended to use at the first stage of programming. Many objects in the program can be destroyed when optimizing the code. Special attention is paid to the testing of computer programs. As an example, the problem of the electromagnetic waves diffraction by screens in three-dimensional waveguide structures and its particular cases are considered. The technique of constructing a parallel code for solving the diffraction problem is used in teaching parallel programming.