Is it possible to achieve in C++ the performance one can get from Fortran?

This is the question I asked myself recently. If you write a scientific code in Fortran, you can expect a huge performance boost compared to the same program in C or C++. Well, unless you use some compiler extensions, in which case you get the same performance, or better.
Let’s try this on a 3D propagation sample, with a 8-points stencil.
Continue reading Is it possible to achieve in C++ the performance one can get from Fortran?

And now for something completely different: Wiring diagram for a SM STC-2A

I’ve recently burnt the tone circuit of my Cort GB-74, so I’ve changed it for a Seymour Duncan STC-2A. The basic wiring diagram does not include all the options I had on the original diagram, here are the (small, really small) modifications and some impressions on the STC.
Continue reading And now for something completely different: Wiring diagram for a SM STC-2A

Book review: Parallel Finite-Difference Time-Domain Method

I came across the issue of how to teach a trainee how to write a parallel finite-difference time-domain (FDTD) method. There are a lot of books on the FDTD, but only a few on parallel ones. So I’ve decided to go for this book, knowing that some chapters won’t apply to our job (wave equations). My goal was to seek a book that would explain the basics of my issues.
Continue reading Book review: Parallel Finite-Difference Time-Domain Method