Here we will model the curvature and contraction of space-time using as a basis the equation of state of an ideal gas and the Hawking´s equation for the temperature of a black hole. We will use this mathematical model to hypothesize that the Boltzmann´s constant depends on the state of matter, that is, there is a known Boltzmann´s constant for flat space-time and an effective Boltzmann´s constant for curved space-time. This model will allow us to quantify the structure of space-time and will serve as a basis to determine the origin of gravity and the origin of elementary particles. Using the Shannon-Boltzmann-Gibbs entropy relation, we will demonstrate that information is not lost and depends on the state of matter, the information is encoded and depends on the effective Boltzmann´s constant.