Appelros
- 20
- 0
In complex simulations the best that can be done analytically is solving for the force vectors at each time step, and whenever the perpendicular magnetic force vector is added to a velocity the velocity increases, which it shouldn't.hutchphd said:You said you wanted accuracy. Toward that end simulations should be done analytically if they can be.
That's why I came here for help.Your microscopic simulation is not time reversal invariant. That should worry you. You introduce that asymmetry artificially by your second difference technique.
I tried to use code ticks ``` to signify code, seemed appropriate given the thread is about coding, but apparently they don't work here. Also double $ or # doesn't seem to work either... So I don't know how to input latex on this site, if anyone has a solution that would be great.If you wish to communiucate math, please do it in LateX and not Julia.