diff --git a/README.md b/README.md index 35c0e62..dc4f728 100644 --- a/README.md +++ b/README.md @@ -158,9 +158,9 @@ here's a plot of `M(mem2)` over time from the SR latch simulation. we're measuri ## Processing Loop (and how GPU acceleration works) the processing loop for a simulation is roughly as follows (src/driver.rs:step_until drives this loop): -1. evaluate all stimuli at the present moment in time; these produce an "externally applied" E and B field +1. evaluate all stimuli at the present moment in time; these produce an "externally applied" E and H field across the entire volume. -2. apply the FDTD update equations to "step" the B field, and then "step" the E field (TODO: is this the right order?). these equations take the external stimulus from step 1 into account. +2. apply the FDTD update equations to "step" the E field, and then "step" the H field. these equations take the external stimulus from step 1 into account. 3. evaluate all the measurement functions over the current state; write these to disk. 4. serialize the current state to disk so that we can resume from this point later if we choose.