Final version of the Remote Learning subject program. It takes a .mol2 file from the /inputs directory as input and generates 3 output files in the /results directory:
- .out1: Prints energy contribution of each bond, angle and dihedral. Also prints the gradient in cartesian coordinates and the contribution of each set of internals to the gradient.
- .out2: Log of the optimization in cartesian coordinates using the BGFS Quasi-Newton optimization algorithm.
- .out3: Log of the optimization in internal coordinates using the BGFS Quasi-Newton optimization algorithm.
The program can be executed from the terminal as:
python3 geom_optimizer.py inputs/filename.mol2Or by modifying in the script file the variable default_filename:
default_filename = os.getcwd() + "/inputs/methane.mol2"| Filename | Cartesian opt. ref. energy / |
Cartesian opt. energy / |
Deviation / |
|---|---|---|---|
| Ethane | |||
| Ethane_dist | |||
| Isobutane | |||
| Methane | |||
| Methylcyclohexane | |||
| n_Butane | |||
| Pinane | |||
| Cholestane | |||
| Cholestane_reordered | |||
| Methylcyclohexane_reordered | |||
| n_Butane_reordered | |||
| Pinane_reordered |
| Filename | Internal opt. ref. energy / |
Internal opt. energy / |
Deviation / |
|---|---|---|---|
| Ethane | |||
| Ethane_dist | |||
| Isobutane | |||
| Methane | |||
| Methylcyclohexane | |||
| n_Butane | |||
| Cholestane | |||
| Cholestane_reordered | |||
| Methylcyclohexane_reordered | |||
| n_Butane_reordered | |||
| Pinane_reordered | |||
| Pinane |