Molecular dynamics method

1: Initialization: δ t : = t 0 ; v ¯ : = 0 ; ω ¯ * : = ω ¯ 0 ; F * : = F 0

2: while stopping criteria are not met do

3: Calculating force f ¯ and updating ω ¯ and v ¯ , Equation (12); calculating F, Equations (1)-(3);

4: if F < F * ε then

5: F * : = F ; ω ¯ * : = ω ¯

6: else if F < F * then

7: F * : = F ; ω ¯ * : = ω ¯ ; Heating the system by setting the desired temperature T d = β T 0 ;

8: else

9: Heating the system by setting the desired temperature T d = β T 0 ;

10: end if

11: Damping the system by setting the atom j, if v j ( t ) f j ( t ) < 0 ; v j ( t ) = λ v j ( t ) ;

12: Checking the physical constraint, set v j ( t ) = v j ( t ) , when ω j ( t ) < 0 ,

14: end while

15: return ( ω ¯ * ) as optimal solution