Skip to content

Commit 78a485c

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

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
@@ -133,7 +133,7 @@ model = GmshDiscreteModel("../models/RecCirGeometry.msh")
133133

134134
# ## FE spaces for the magnetic field
135135
#
136-
# We use the first-order lagrangian as the finite element function space basis. The dirihlet edges are labeld with `DirichletEdges` in the mesh file. Since our problem involves complex numbers (because of PML), we need to assign the `vector_type` to be `Vector{ComplexF64}`.
136+
# We use the first-order Lagrange finite-element basis functions. The Dirichlet edges are labeled as `DirichletEdges` in the mesh file. Since our problem involves complex numbers (because of the PML), we need to specify the `vector_type` as `Vector{ComplexF64}`.
137137
#
138138

139139
order = 1

0 commit comments

Comments
 (0)