Thanks very much. I already noted your point. Sorry for very late reply.
Rangsiman
Quote:Sean Feb 6th 2:12 pmYou have a couple mistakes in your math, as well as a conceptual misstep.
First, the formula for maximum time step is pi over the maximum angular frequency. You have converted from wavelength to period and then have used the period in the formula. The angular frequency corresponding to a period of 1 fs is 2*pi fs^{-1}. So the maximum time step you should have calculated is 20.7 au
Granted that is still a very large time step, but this is where the conceptual misstep comes into play. That formula for maximum time step is only half of the picture when it comes to determining the maximum time step to use for a simulation. The other half is the maximum time step for which the integration algorithm is stable. As the documentation states, the Magnus integrator should be stable up to 0.2 au. The formula you give for maximum time step concerns the highest frequency transitions that you will be able to accurately resolve, which is related to signal sampling and Fourier analysis. This maximum time step will only really matter if you are interested in extreme UV/x-ray transitions (wavelength less than about 3 nm).
As far as length of simulation, any length of time will give you information about the entire spectral range up to the maximum frequency dictated by your time step as discussed above. However, your frequency resolution will be 1/T where T is the total time of the simulation, e.g. a simulation length of 1000 au will give you a resolution of 0.027 eV. Always a good idea to checkpoint your simulation so that if you find after analysis that you need better resolution, you can just continue the trajectory.
|