run; # export E field from monitor XZ_field. Note that this dataset # contains multiple frequency points. This will make it more difficult to # to view the data as a vector quantity in Paraview E_xz=getresult("XZ_field","E"); vtksave("bullseye_E_xz",E_xz); # Export the 3D refractive index, E field and Poynting vector data # These monitors only contain one frequency point n_3D=getresult("index_400nm","index"); E_3D = getresult("field_400nm","E"); P_3D = getresult("field_400nm","P"); vtksave("bullseye_n_3D",n_3D); vtksave("bullseye_P_3D",P_3D); vtksave("bullseye_E_3D",E_3D);