ToyFDTD2 builds an alternate memory allocation scheme into ToyFDTD1. This new scheme guarantees that the data arrays are contiguous. Like ToyFDTD1, ToyFDTD2 illlustrates in heavily-commented source code the basic tasks in getting a 3D FDTD simulation running.