Skip to content

Commit

Permalink
Code Refactor:
Browse files Browse the repository at this point in the history
1. MC moves refactor
2. MC_MOVE class: Every move is divided into different stages: preparation, calculation, and acceptance.
   * Adding modifications made easier
3. small optimization for CBMC. 5% speed up
Examples:
1. Re-calculated examples: output are saved to output.txt in each example folder.
   * As long as order of random numbers are preserved, simulation should give the same result everywhere, and correctness is gaurenteed
2. Allegro/LCLin ML potential example revisited, LCLin small bug fix
  • Loading branch information
Zhaoli2042 committed Jan 14, 2025
1 parent 6ad9c5c commit 2beec55
Show file tree
Hide file tree
Showing 53 changed files with 57,888 additions and 43,460 deletions.
2,939 changes: 183 additions & 2,756 deletions Examples/CO2-MFI/output.txt

Large diffs are not rendered by default.

706 changes: 706 additions & 0 deletions Examples/CO2_MgMOF74_Allegro/output.txt

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Examples/CO2_MgMOF74_Allegro/run

This file was deleted.

4 changes: 2 additions & 2 deletions Examples/CO2_MgMOF74_Allegro/simulation.input
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
UseGPUReduction no
Useflag yes

NumberOfInitializationCycles 500000
NumberOfInitializationCycles 5000
NumberOfEquilibrationCycles 0
NumberOfProductionCycles 500000
NumberOfProductionCycles 5000

UseMaxStep yes
MaxStepPerCycle 1
Expand Down
651 changes: 0 additions & 651 deletions Examples/CO2_MgMOF74_LCLin/LCLIN-result.txt

This file was deleted.

619 changes: 619 additions & 0 deletions Examples/CO2_MgMOF74_LCLin/output.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Examples/CO2_MgMOF74_LCLin/simulation.input
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ NumberOfProductionCycles 0
UseMaxStep yes
MaxStepPerCycle 1

UseChargesFromCIFFile no
UseChargesFromCIFFile yes

RestartFile no
RandomSeed 0
Expand Down
10 changes: 0 additions & 10 deletions Examples/CO2_MgMOF74_UFF/clean.sh

This file was deleted.

36 changes: 0 additions & 36 deletions Examples/CO2_MgMOF74_UFF/collect_ads.sh

This file was deleted.

22 changes: 0 additions & 22 deletions Examples/CO2_MgMOF74_UFF/mps_run.sh

This file was deleted.

2,997 changes: 2,997 additions & 0 deletions Examples/CO2_MgMOF74_UFF/output.txt

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Examples/CO2_MgMOF74_UFF/run

This file was deleted.

10 changes: 0 additions & 10 deletions Examples/CO2_MgMOF74_UFF/start_as_root.sh

This file was deleted.

6 changes: 0 additions & 6 deletions Examples/CO2_MgMOF74_UFF/stop_as_root.sh

This file was deleted.

798 changes: 193 additions & 605 deletions Examples/Methane-TMMC/output.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Examples/Methane-TMMC/simulation.input
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NumberOfInitializationCycles 10000
NumberOfInitializationCycles 50000
NumberOfEquilibrationCycles 50000
NumberOfProductionCycles 50000

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,211 changes: 449 additions & 762 deletions Examples/NU2000-pX-LinkerRotations/output.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Examples/NU2000-pX-LinkerRotations/simulation.input
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NumberOfInitializationCycles 0
NumberOfEquilibrationCycles 5000
NumberOfProductionCycles 5000
NumberOfEquilibrationCycles 50000
NumberOfProductionCycles 50000

UseMaxStep yes
MaxStepPerCycle 1
Expand Down
Loading

0 comments on commit 2beec55

Please sign in to comment.