总能量应该是potential
This commit is contained in:
@@ -51,7 +51,7 @@ The following is the optimized crystal structure information:
|
|||||||
|
|
||||||
### Optimized {output_format.upper()} Content:
|
### Optimized {output_format.upper()} Content:
|
||||||
```{output_format}
|
```{output_format}
|
||||||
{optimized_content[:800]}
|
{optimized_content[:300]}
|
||||||
```
|
```
|
||||||
|
|
||||||
Due to length limitations, the complete {output_format.upper()} file has been uploaded to the following link:
|
Due to length limitations, the complete {output_format.upper()} file has been uploaded to the following link:
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ def optimize_structure(atoms: Atoms, output_format: str):
|
|||||||
optimization_log = f.getvalue()
|
optimization_log = f.getvalue()
|
||||||
# 同时输出到控制台
|
# 同时输出到控制台
|
||||||
print(optimization_log)
|
print(optimization_log)
|
||||||
total_energy = atoms.get_total_energy()
|
total_energy = atoms.get_potential_energy()
|
||||||
|
|
||||||
# 处理对称性
|
# 处理对称性
|
||||||
if output_format == "cif":
|
if output_format == "cif":
|
||||||
|
|||||||
Reference in New Issue
Block a user