Geometric integration and thermostat methods for Hamiltoniansystems door