228
223
def flux_cyl(rmax, zmax, eps, m):
231
225
master_printf("\nFlux_cyl(%g,%g) test...\n", rmax, zmax)
233
master_printf("\nFlux_cyl(%g,%g) test...defining structure...\n", rmax, zmax)
234
227
s = structure(v, eps, pml(0.5))
236
master_printf("\nFlux_cyl(%g,%g) test...stage 1...\n", rmax, zmax)
238
230
f.add_point_source(Ep, 0.25, 3.5, 0., 8., veccyl(rmax*5/6+0.1, zmax/6+0.3), 1.)
240
232
lb= veccyl(-rmax/3, zmax/3)