Abstract

This paper corrects an error in the software provided with J. Opt. Soc. Am. B 38, 510 (2021) [CrossRef]  .

© 2021 Optical Society of America

 figure: Fig. 1.

Fig. 1. (Left column) Designs presented in the original manuscript. (Right column) Designs created using the corrected software.

Download Full Size | PPT Slide | PDF

In [1], the DENSITY_FILTER method was used incorrectly for one of two applications in the method OBJECTIVE_GRAD, leading to sensitivity errors near the model domain boundary. To correct the code, the following steps are taken.

First, DENSITY_FILTER (lines 176–178 of top200EM) is updated to the following:

function [xS]=DENSITY_FILTER(FilterKernel,FilterScalingA,FilterScalingB,x,func)

xS = conv2((x .* func)./FilterScalingA,FilterKernel,’same’)./FilterScalingB;

end

Second, the first call to DENSITY_FILTER (line 70 of top200EM) is updated to the following:

dFPS = DENSITY_FILTER(filThr.filKer,ones(dis.nElY,dis.nElX),

filThr.filSca,dFP,ones(dis.nElY,dis.nElX));

Last, the second call to DENSITY_FILTER (line 104 of top200EM) is updated to the following:

sensFOM = DENSITY_FILTER(filThr.filKer,filThr.filSca,

ones(dis.nElY,dis.nElX),sens, DdFSTDFS);

The correction of the error has minor influence on the designs presented in the paper (see Fig. 1) and does not change any discussions or conclusions.

REFERENCE

1. R. E. Christiansen and O. Sigmund, “Compact 200 line MATLAB code for inverse design in photonics by topology optimization: tutorial,” J. Opt. Soc. Am. B 38, 510–520 (2021). [CrossRef]  

References

  • View by:

  1. R. E. Christiansen and O. Sigmund, “Compact 200 line MATLAB code for inverse design in photonics by topology optimization: tutorial,” J. Opt. Soc. Am. B 38, 510–520 (2021).
    [Crossref]

2021 (1)

Cited By

Optica participates in Crossref's Cited-By Linking service. Citing articles from Optica Publishing Group journals and other participating publishers are listed here.

Alert me when this article is cited.


Figures (1)

Fig. 1.
Fig. 1. (Left column) Designs presented in the original manuscript. (Right column) Designs created using the corrected software.

Metrics