|
@@ -1,4 +1,4 @@
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
from scattnlay import fieldnlay, scattnlay
|
|
@@ -56,7 +56,7 @@ import cmath
|
|
|
|
|
|
WL=500
|
|
|
core_r = 50.0
|
|
|
-epsilon_Ag = 4.0
|
|
|
+epsilon_Ag = 4.0
|
|
|
|
|
|
|
|
|
index_Ag = np.sqrt(epsilon_Ag)
|
|
@@ -68,8 +68,8 @@ x = 2.0*np.pi*np.array([core_r/4.0*3.0, core_r], dtype = np.float64)/WL
|
|
|
|
|
|
m = np.array((index_Ag, index_Ag), dtype = np.complex128)/nm
|
|
|
|
|
|
-print "x =", x
|
|
|
-print "m =", m
|
|
|
+print( "x =", x)
|
|
|
+print( "m =", m)
|
|
|
|
|
|
comment='bulk-Ag-flow'
|
|
|
WL_units='nm'
|