code with attenuation and advection

- compiles and runs quickly
- needs to be tested