Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| from ase.data import reference_states, atomic_numbers | ||
| import numpy as np | ||
| from ase import Atoms | ||
| from random import random |
There was a problem hiding this comment.
| from random import random | |
| import random |
| Atoms: The structure after MD simulation. | ||
| """ | ||
|
|
||
| print(f"Running NPT MD at T = {temperature} K") |
There was a problem hiding this comment.
The user should have the option to enable or disable the print out, for example by setting a debug flag.
| print( | ||
| f"Both structures have {key_max} above half distribution at temperatures {temperature_left} and {temperature_right}" | ||
| ) | ||
| print("Increasing temperatures...") | ||
| print("-----------------------------------------------------") |
There was a problem hiding this comment.
The user should have the option to enable or disable the print out, for example by setting a debug flag.
| print( | ||
| f"Left structure has {key_max} above half distribution at temperature {temperature_left}, right structure below at temperature {temperature_right}" | ||
| ) | ||
| print("Decreasing temperatures...") | ||
| print("-----------------------------------------------------") |
There was a problem hiding this comment.
The user should have the option to enable or disable the print out, for example by setting a debug flag.
| print( | ||
| f"Both structures have {key_max} below half distribution at temperatures {temperature_left} and {temperature_right}" | ||
| ) | ||
| print("Decreasing temperatures...") | ||
| print("-----------------------------------------------------") |
There was a problem hiding this comment.
The user should have the option to enable or disable the print out, for example by setting a debug flag.
| structure_left = structure_after_minimization | ||
| structure_right = _next_calc( | ||
| structure=structure_after_minimization, | ||
| print("Running at the highest temperature") |
There was a problem hiding this comment.
The user should have the option to enable or disable the print out, for example by setting a debug flag.
| temperature_step = temperature_right - temperature_left | ||
| return int(round(temperature_left)) | ||
|
|
||
| print(f"Melting point estimated at T = {temperature_left} K") |
There was a problem hiding this comment.
The user should have the option to enable or disable the print out, for example by setting a debug flag.
No description provided.