In calculations of quantities in Neutron stars with degenerate matter is usual to set temperature zero. If I'm right it means that pressure of this matter is negligible against pressure due to Pauli principle. But what about situation when the matter is in neutron star locally compressed. How can I resolve which density started to be important and pressure of the matter starting to be equivalent to pressure from degenerate neutron gas? How can I calculate a temperature in such place? If I'm wrong with something or this topic isn't for this section please let me also know. Thank you all.