Skip to content

Commit 19bb59d

Browse files
committed
Update geopt output, LATVEC
1 parent 7436db8 commit 19bb59d

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

ChangeLog

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
-Date
33
-Name
44
-changes
5+
--------------
6+
October 03, 2025
7+
Name: Sayan Bhowmik
8+
Changes: (src/relax.c)
9+
1. Make LATVEC norm 1 in geopt file (consistent with .out file).
10+
511
--------------
612
September 25, 2025
713
Name: Rajat kumar, Abhiraj Sharma
@@ -10,7 +16,7 @@ Changes: src/cyclix/cyclix_stress.c, src/cyclix/cyclix_stress.h, src/stress.c, t
1016
2. Bug fix in stress units in .out file as well as Ha/Bohr to GPa conversion
1117
3. Fixed reference results both standard as well as high accuracy in cyclix
1218

13-
19+
--------------
1420
September 04, 2025
1521
Name: Sayan Bhowmik
1622
Changes: (src/md.c)

src/initialization.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3722,7 +3722,7 @@ void write_output_init(SPARC_OBJ *pSPARC) {
37223722
}
37233723

37243724
fprintf(output_fp,"***************************************************************************\n");
3725-
fprintf(output_fp,"* SPARC (version September 25, 2025) *\n");
3725+
fprintf(output_fp,"* SPARC (version October 03, 2025) *\n");
37263726
fprintf(output_fp,"* Copyright (c) 2020 Material Physics & Mechanics Group, Georgia Tech *\n");
37273727
fprintf(output_fp,"* Distributed under GNU General Public License 3 (GPL) *\n");
37283728
fprintf(output_fp,"* Start time: %s *\n",c_time_str);

src/relax.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,9 +1346,9 @@ void PrintCellRelax(SPARC_OBJ *pSPARC) {
13461346
fprintf(output_fp,":CELL: %18.10E %18.10E %18.10E\n", pSPARC->range_x, pSPARC->range_y, pSPARC->range_z);
13471347
fprintf(output_fp,":VOLUME: %18.10E\n", pSPARC->range_x*pSPARC->range_y*pSPARC->range_z*pSPARC->Jacbdet);
13481348
fprintf(output_fp,":LATVEC:\n");
1349-
fprintf(output_fp,"%18.10E %18.10E %18.10E \n",pSPARC->LatVec[0],pSPARC->LatVec[1],pSPARC->LatVec[2]);
1350-
fprintf(output_fp,"%18.10E %18.10E %18.10E \n",pSPARC->LatVec[3],pSPARC->LatVec[4],pSPARC->LatVec[5]);
1351-
fprintf(output_fp,"%18.10E %18.10E %18.10E \n",pSPARC->LatVec[6],pSPARC->LatVec[7],pSPARC->LatVec[8]);
1349+
fprintf(output_fp,"%18.10E %18.10E %18.10E \n",pSPARC->LatUVec[0],pSPARC->LatUVec[1],pSPARC->LatUVec[2]);
1350+
fprintf(output_fp,"%18.10E %18.10E %18.10E \n",pSPARC->LatUVec[3],pSPARC->LatUVec[4],pSPARC->LatUVec[5]);
1351+
fprintf(output_fp,"%18.10E %18.10E %18.10E \n",pSPARC->LatUVec[6],pSPARC->LatUVec[7],pSPARC->LatUVec[8]);
13521352
fprintf(output_fp,":STRESS:\n");
13531353

13541354
PrintStress(pSPARC, pSPARC->stress, output_fp);

0 commit comments

Comments
 (0)