Skip to content

Commit b611377

Browse files
WenjieYaostevengj
andauthored
Update src/TopOptEMFocus.jl
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
1 parent 78a485c commit b611377

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TopOptEMFocus.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ U = V # mathematically equivalent to TrialFESpace(V,0)
143143

144144
# ## Numerical integration
145145
#
146-
# We generate the triangulation and a second-order Gaussian quadrature for the numerial integration for the total computation cell. Note that we create a boundary triangulation from a `Source` tag for the line excitation. Generally, we do not need such additional mesh tags for the source, we can use a delta function to approximate such line source excitation. However, by generating a line mesh, we can increase the accuracy of this source excitation.
146+
# We construct the triangulation and a second-order Gaussian quadrature scheme for assembling the finite-element matrix from the weak form. Note that we create a boundary triangulation from a `Source` tag for the line excitation, which is a convenient and accurate way to produce an incident planewave. (We could have alternatively devised a corresponding current source, e.g. using a finite-width delta-function approximation.)
147147
#
148148

149149
degree = 2

0 commit comments

Comments
 (0)