Programming, Cpp, Cpp11, Compile Times, Simulation.
implementation. The good thing about this is that you could get some useful information in compile-time, for example /MetaMaxwell/main.cpp:189:15: note: floating point arithmetic produces a NaN dz[i] += C0 * dt * update_curl_h<float_type, nx, ny> (i, dx, dy, hx, hy); ^ /MetaMaxwell/main.cpp:233:7: