Adaptative Smooth Particle Hydrodynamics and Particle-Particle coupled codes: Energy and Entropy Conservation