计算机科学
计算科学
Python(编程语言)
库达
并行计算
傅里叶变换
算法
物理
程序设计语言
量子力学
作者
Changhyun Kim,Byoungho Lee
标识
DOI:10.1016/j.cpc.2022.108552
摘要
TORCWA is an electromagnetic wave simulation and optimization tool utilizing rigorous coupled-wave analysis. One of the advantages of TORCWA is that it provides GPU-accelerated simulation. It shows a greatly accelerated simulation speed compared to when the same simulation is performed on a CPU-based. Although it has accelerated speed, the simulation results are almost identical to the commercialized electromagnetic wave simulations. The second advantage is that it provides GPU-accelerated gradient calculation for the simulation results with reverse-mode automatic differentiation of PyTorch version 1.10.1. In particular, the instability of gradient calculation of eigendecomposition is also improved. With this property, TORCWA can be utilized for the optimization of various nanophotonic devices. Here, we first introduce the formulation used in TORCWA, compare it with other commercial simulations, and show the computational performance in multiple environments. Then, the gradient calculation and optimization examples are shown. Thanks to accelerated computational performance and gradient calculation, TORCWA is a worthy program for designing and optimizing various nanophotonic devices. Program title: TORCWA CPC Library link to program files: https://doi.org/10.17632/2dybvpk42g.1 Developer's repository link: https://github.com/kch3782/torcwa Licensing provisions: LGPL v3 Programming language: Python 3.8 Nature of Problem: Time-harmonic electromagnetic fields. Solution method: Fourier modal methods and extended scattering matrix method. Additional comments including restrictions and unusual features: TORCWA utilizes PyTorch version 1.10.1 [1]. PyTorch, https://pytorch.org/
科研通智能强力驱动
Strongly Powered by AbleSci AI