Thermodynamics of chemical waves.