Adaptive-Implicit Method in Thermal Simulation