An analogue of Rionero's functional for reaction-diffusion equations and an application thereof