Luis Hita, JorgeOrtiz De Zárate Leira, José María2023-06-192023-06-192013-05-141539-375510.1103/PhysRevE.87.052802https://hdl.handle.net/20.500.14352/33692© 2013 American Physical Society. We are indebted to Jan V. Sengers for suggesting part of this research and carefully reviewing the manuscript.We present a study of the spatial correlation functions of a one-dimensional reaction-diffusion system in both equilibrium and out of equilibrium. For the numerical simulations we have employed the Gillespie algorithm dividing the system into cells to treat diffusion as a chemical process between adjacent cells. We find that the spatial correlations are spatially short ranged in equilibrium but become long ranged in nonequilibrium. These results are in good agreement with theoretical predictions from fluctuating hydrodynamics for a one-dimensional system and periodic boundary conditions.engSpatial correlations in nonequilibrium reaction-diffusion problems by the Gillespie algorithmjournal articlehttp://dx.doi.org/10.1103/PhysRevE.87.052802http://journals.aps.org/open access536Long-range correlationsAccelerated stochastic simulationChemical langevin equationMicroscopic simulationHydrodynamic fluctuationsHomogeneous systemsLight-scatteringLiquid-mixturesEquilibriumNoiseTermodinámica2213 Termodinámica