Hi everbody!

I use the C++ version of Meep for analyzing the magnetic field in a ring
resonator. I have been saving the data for the Hz field for every time step
in the same location in two different ways, using the output_hdf5 & the
get_field - command.

  while (f.time() < stop_time_unit)
  {
    f.step();
    f.output_hdf5(Hz, sens_loc, &hz_file, true);
    hz = f.get_field(Hz, sens_loc);
      .
      .
      .
  }

Somehow, the output are different from each other and I can't seem to
localize the problem. Does anybody know what the problem might be?

Regards, Jakob Helander
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to