Skip to content

Commit

Permalink
Merge pull request brucefan1983#683 from brucefan1983/fix_random_velo…
Browse files Browse the repository at this point in the history
…city

do not seed for default velocity
  • Loading branch information
brucefan1983 authored Aug 3, 2024
2 parents 350734b + 8662aac commit 734b69b
Show file tree
Hide file tree
Showing 14 changed files with 12,320 additions and 12,320 deletions.
2 changes: 1 addition & 1 deletion src/main_gpumd/run.cu
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Run::Run()
atom.cpu_position_per_atom,
atom.cpu_velocity_per_atom,
atom.velocity_per_atom,
true,
false,
123);
if (has_velocity_in_xyz) {
printf("Initialized velocities with data in model.xyz.\n");
Expand Down
20 changes: 10 additions & 10 deletions tests/gpumd/carbon/thermo1.out
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
3.0113661586e+02 2.4911976084e+03 -1.6375097867e+05 -5.0721457235e-01 -2.1852113665e-01 -2.6797753168e-02 1.6234327967e-02 -3.3800045568e-01 1.3341062079e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0059595370e+02 2.4867249000e+03 -1.6374652250e+05 -5.2833353598e-01 -9.9597554606e-02 -8.5991706036e-02 -4.3983221091e-02 -2.8154374716e-01 1.7241102218e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0021381933e+02 2.4835636363e+03 -1.6374328856e+05 -4.4171708136e-01 -7.7703587111e-02 -1.0471971314e-02 4.4552551776e-02 -2.5214592764e-01 1.8476233051e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
2.9955909156e+02 2.4781473031e+03 -1.6373784400e+05 -4.9413506038e-01 -9.1466292424e-02 6.9340290024e-03 2.6602626795e-02 -3.0050111471e-01 9.0354661389e-02 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0053531219e+02 2.4862232340e+03 -1.6374602972e+05 -4.6259137351e-01 -1.9039112389e-01 2.3311793828e-02 -4.1720022733e-03 -3.0350087175e-01 1.5877459111e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0046102033e+02 2.4856086435e+03 -1.6374540162e+05 -5.4106716659e-01 -1.2144971316e-01 9.7727039968e-02 -3.4841114419e-03 -3.5171749180e-01 1.5441444327e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0086127265e+02 2.4889197905e+03 -1.6374872594e+05 -5.3964535385e-01 -1.2827771425e-01 6.5390675868e-02 -4.6108354593e-02 -2.6822369100e-01 1.3916873820e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0040968540e+02 2.4851839676e+03 -1.6374495252e+05 -5.2084537569e-01 -1.0624664152e-01 6.1945564049e-02 5.3784232780e-03 -3.1700255446e-01 1.5265117348e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
2.9979214336e+02 2.4800752589e+03 -1.6373980653e+05 -5.1438790426e-01 -6.1309388026e-02 7.9919418519e-03 -6.2336347419e-02 -2.4535113038e-01 6.2597827819e-02 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0086289078e+02 2.4889331768e+03 -1.6374871365e+05 -4.1641693670e-01 -1.1274438830e-01 -1.6344425955e-02 -6.3586124476e-02 -2.6969457889e-01 1.3002559745e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0070239626e+02 2.4876054619e+03 -1.6374740700e+05 -4.9616468022e-01 -1.6912921834e-01 3.5674124458e-03 2.4385129857e-03 -2.6912058052e-01 1.0069714568e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0028361629e+02 2.4841410421e+03 -1.6374398901e+05 -5.5494354723e-01 -8.7590730444e-02 -5.0432643483e-03 -2.3679411355e-02 -2.4354577765e-01 1.9885809191e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0090759433e+02 2.4893029936e+03 -1.6374911288e+05 -4.8069678104e-01 -9.9976066599e-02 6.1179805941e-03 5.0698164709e-02 -2.6632081797e-01 1.7746326200e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
2.9928310417e+02 2.4758641563e+03 -1.6373553901e+05 -5.3300642547e-01 -8.9159266144e-02 1.7190636831e-02 -1.7661917248e-02 -2.8009973082e-01 1.3277648526e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0056897491e+02 2.4865017139e+03 -1.6374628254e+05 -4.6676195500e-01 -1.9398204880e-01 6.0656695700e-02 2.4843661280e-02 -2.6412960407e-01 1.2556350786e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0177745333e+02 2.4964990320e+03 -1.6375641985e+05 -5.7855498891e-01 -1.3026828437e-01 -2.4558129776e-02 3.1861985267e-02 -3.1819292681e-01 1.3576815515e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
2.9932972998e+02 2.4762498752e+03 -1.6373603815e+05 -5.4164333083e-01 -1.2870623849e-01 7.3976160987e-02 -3.7364862552e-03 -2.4645670561e-01 1.1570031471e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0019240867e+02 2.4833865135e+03 -1.6374314759e+05 -5.7517218749e-01 -1.9081998733e-01 3.0024143336e-02 3.6497970665e-03 -2.9928563844e-01 1.2112683323e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0102978205e+02 2.4903138097e+03 -1.6375013167e+05 -5.4688211568e-01 -1.4423809725e-01 -2.9289262110e-02 -6.9361732525e-02 -2.9886523318e-01 1.1227921458e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
3.0053798477e+02 2.4862453433e+03 -1.6374602927e+05 -4.7481941663e-01 -7.5619308246e-02 2.2007814671e-02 -5.4716073590e-02 -3.1145426443e-01 1.2338673758e-01 7.5200000000e+01 7.5200000000e+01 7.5200000000e+01
Loading

0 comments on commit 734b69b

Please sign in to comment.