packmol 21.2.1__tar.gz → 21.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. packmol-21.2.2/.github/workflows/changelog.yml +12 -0
  2. {packmol-21.2.1 → packmol-21.2.2}/.gitignore +2 -0
  3. {packmol-21.2.1 → packmol-21.2.2}/CHANGELOG.md +5 -0
  4. {packmol-21.2.1 → packmol-21.2.2}/PKG-INFO +1 -1
  5. {packmol-21.2.1 → packmol-21.2.2}/fpm.toml +1 -1
  6. {packmol-21.2.1 → packmol-21.2.2}/pyproject.toml +1 -1
  7. packmol-21.2.2/python/packmol/binaries/packmol +0 -0
  8. {packmol-21.2.1 → packmol-21.2.2}/src/cell_indexing.f90 +2 -2
  9. {packmol-21.2.1 → packmol-21.2.2}/src/checkpoint.f90 +3 -3
  10. {packmol-21.2.1 → packmol-21.2.2}/src/getinp.f90 +3 -3
  11. {packmol-21.2.1 → packmol-21.2.2}/src/initial.f90 +9 -9
  12. {packmol-21.2.1 → packmol-21.2.2}/src/title.f90 +1 -1
  13. packmol-21.2.1/python/packmol/binaries/packmol +0 -0
  14. {packmol-21.2.1 → packmol-21.2.2}/.github/workflows/actions.yml +0 -0
  15. {packmol-21.2.1 → packmol-21.2.2}/.github/workflows/build-wheels.yaml +0 -0
  16. {packmol-21.2.1 → packmol-21.2.2}/AUTHORS +0 -0
  17. {packmol-21.2.1 → packmol-21.2.2}/CMakeLists.txt +0 -0
  18. {packmol-21.2.1 → packmol-21.2.2}/LICENSE +0 -0
  19. {packmol-21.2.1 → packmol-21.2.2}/Makefile +0 -0
  20. {packmol-21.2.1 → packmol-21.2.2}/README.md +0 -0
  21. {packmol-21.2.1 → packmol-21.2.2}/app/packmol.f90 +0 -0
  22. {packmol-21.2.1 → packmol-21.2.2}/compile_cmake.sh +0 -0
  23. {packmol-21.2.1 → packmol-21.2.2}/configure +0 -0
  24. {packmol-21.2.1 → packmol-21.2.2}/header +0 -0
  25. {packmol-21.2.1 → packmol-21.2.2}/python/hatch_build.py +0 -0
  26. {packmol-21.2.1 → packmol-21.2.2}/python/packmol/__init__.py +0 -0
  27. {packmol-21.2.1 → packmol-21.2.2}/python/packmol/binaries/.gitignore +0 -0
  28. {packmol-21.2.1 → packmol-21.2.2}/python/packmol/cli.py +0 -0
  29. {packmol-21.2.1 → packmol-21.2.2}/python/tests/test_packmol.py +0 -0
  30. {packmol-21.2.1 → packmol-21.2.2}/solvate.tcl +0 -0
  31. {packmol-21.2.1 → packmol-21.2.2}/src/ahestetic.f90 +0 -0
  32. {packmol-21.2.1 → packmol-21.2.2}/src/cenmass.f90 +0 -0
  33. {packmol-21.2.1 → packmol-21.2.2}/src/cli_parser.f90 +0 -0
  34. {packmol-21.2.1 → packmol-21.2.2}/src/comparegrad.f90 +0 -0
  35. {packmol-21.2.1 → packmol-21.2.2}/src/comprest.f90 +0 -0
  36. {packmol-21.2.1 → packmol-21.2.2}/src/compute_data.f90 +0 -0
  37. {packmol-21.2.1 → packmol-21.2.2}/src/computef.f90 +0 -0
  38. {packmol-21.2.1 → packmol-21.2.2}/src/computeg.f90 +0 -0
  39. {packmol-21.2.1 → packmol-21.2.2}/src/exit_codes.f90 +0 -0
  40. {packmol-21.2.1 → packmol-21.2.2}/src/flashmod.f90 +0 -0
  41. {packmol-21.2.1 → packmol-21.2.2}/src/flashsort.f90 +0 -0
  42. {packmol-21.2.1 → packmol-21.2.2}/src/fparc.f90 +0 -0
  43. {packmol-21.2.1 → packmol-21.2.2}/src/gencan.f +0 -0
  44. {packmol-21.2.1 → packmol-21.2.2}/src/gencan_ieee_signal_routines.f90 +0 -0
  45. {packmol-21.2.1 → packmol-21.2.2}/src/gparc.f90 +0 -0
  46. {packmol-21.2.1 → packmol-21.2.2}/src/gwalls.f90 +0 -0
  47. {packmol-21.2.1 → packmol-21.2.2}/src/heuristics.f90 +0 -0
  48. {packmol-21.2.1 → packmol-21.2.2}/src/input.f90 +0 -0
  49. {packmol-21.2.1 → packmol-21.2.2}/src/jacobi.f90 +0 -0
  50. {packmol-21.2.1 → packmol-21.2.2}/src/output.f90 +0 -0
  51. {packmol-21.2.1 → packmol-21.2.2}/src/pbc.f90 +0 -0
  52. {packmol-21.2.1 → packmol-21.2.2}/src/pgencan.f90 +0 -0
  53. {packmol-21.2.1 → packmol-21.2.2}/src/polartocart.f90 +0 -0
  54. {packmol-21.2.1 → packmol-21.2.2}/src/random.f90 +0 -0
  55. {packmol-21.2.1 → packmol-21.2.2}/src/resetcells.f90 +0 -0
  56. {packmol-21.2.1 → packmol-21.2.2}/src/restmol.f90 +0 -0
  57. {packmol-21.2.1 → packmol-21.2.2}/src/setsizes.f90 +0 -0
  58. {packmol-21.2.1 → packmol-21.2.2}/src/sizes.f90 +0 -0
  59. {packmol-21.2.1 → packmol-21.2.2}/src/strlength.f90 +0 -0
  60. {packmol-21.2.1 → packmol-21.2.2}/src/swaptype.f90 +0 -0
  61. {packmol-21.2.1 → packmol-21.2.2}/src/swaptypemod.f90 +0 -0
  62. {packmol-21.2.1 → packmol-21.2.2}/src/tobar.f90 +0 -0
  63. {packmol-21.2.1 → packmol-21.2.2}/src/usegencan.f90 +0 -0
  64. {packmol-21.2.1 → packmol-21.2.2}/src/writesuccess.f90 +0 -0
  65. {packmol-21.2.1 → packmol-21.2.2}/testing/Project.toml +0 -0
  66. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/benzene2.inp +0 -0
  67. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/bilayer.inp +0 -0
  68. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/bilayer_pbc.inp +0 -0
  69. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/ieee_signaling.inp +0 -0
  70. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/mixture.inp +0 -0
  71. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/mixture_pbc.inp +0 -0
  72. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/only_one_fixed.inp +0 -0
  73. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/protein_outside_pbc_error.inp +0 -0
  74. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/solvprotein.inp +0 -0
  75. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/solvprotein_pbc.inp +0 -0
  76. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/spherical.inp +0 -0
  77. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/spherical_pbc.inp +0 -0
  78. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/toy_with_fixed.inp +0 -0
  79. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box.inp +0 -0
  80. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_conect.inp +0 -0
  81. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_failed.inp +0 -0
  82. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc.inp +0 -0
  83. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc2.inp +0 -0
  84. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_negative_coordinates.inp +0 -0
  85. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_outside_box.inp +0 -0
  86. {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_slab.inp +0 -0
  87. {packmol-21.2.1 → packmol-21.2.2}/testing/install_julia.sh +0 -0
  88. {packmol-21.2.1 → packmol-21.2.2}/testing/output_files/benzene2.pdb +0 -0
  89. {packmol-21.2.1 → packmol-21.2.2}/testing/output_files/water_connect.pdb +0 -0
  90. {packmol-21.2.1 → packmol-21.2.2}/testing/runtests.jl +0 -0
  91. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/CLA.pdb +0 -0
  92. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/SOD.pdb +0 -0
  93. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/benzene.pdb +0 -0
  94. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/ieee_signaling.pdb +0 -0
  95. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/ieee_signaling_box.pdb +0 -0
  96. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/palmitoil.pdb +0 -0
  97. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/protein.pdb +0 -0
  98. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/spherical.pdb +0 -0
  99. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/urea.pdb +0 -0
  100. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/water.pdb +0 -0
  101. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/water_box.pdb +0 -0
  102. {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/water_conect.pdb +0 -0
  103. {packmol-21.2.1 → packmol-21.2.2}/testing/test.sh +0 -0
  104. {packmol-21.2.1 → packmol-21.2.2}/testing/test_cli.sh +0 -0
  105. {packmol-21.2.1 → packmol-21.2.2}/testing/test_connectivity.sh +0 -0
  106. {packmol-21.2.1 → packmol-21.2.2}/testing/test_failed.sh +0 -0
  107. {packmol-21.2.1 → packmol-21.2.2}/update_version.sh +0 -0
@@ -0,0 +1,12 @@
1
+ name: changelog
2
+ on:
3
+ pull_request:
4
+ types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
5
+
6
+ jobs:
7
+ # Enforces the update of a changelog file on every pull request
8
+ # Can be skipped with the `Skip-Changelog` label
9
+ changelog:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: dangoslen/changelog-enforcer@v3
@@ -19,3 +19,5 @@ testing/input_files/Project.toml
19
19
  testing/chkgrad.log
20
20
  .vscode/settings.json
21
21
  __pycache__/
22
+ _site/*
23
+ docs/_site/*
@@ -10,6 +10,11 @@ packmol changelog
10
10
  [badge-fix]: https://img.shields.io/badge/Fix-purple.svg
11
11
  [badge-info]: https://img.shields.io/badge/Info-gray.svg
12
12
 
13
+ Version 21.2.2-DEV
14
+ --------------
15
+ - ![INFO][badge-info] Fix code typos.
16
+ - ![INFO][badge-info] Add changelog verification CI run.
17
+
13
18
  Version 21.2.1
14
19
  --------------
15
20
  - ![INFO][badge-info] Avoid looping above `maxkeywords` in input file reading of radii.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: packmol
3
- Version: 21.2.1
3
+ Version: 21.2.2
4
4
  Summary: Packmol - Creates Initial Configurations for Molecular Dynamics Simulations
5
5
  Project-URL: Homepage, https://github.com/m3g/packmol
6
6
  Project-URL: Repository, https://github.com/m3g/packmol
@@ -1,5 +1,5 @@
1
1
  name = "packmol"
2
- version = "21.2.1"
2
+ version = "21.2.2"
3
3
  license = "MIT"
4
4
  author = "Leandro Martinez, Ernesto Birgin, Jose Mario Martinez"
5
5
  maintainer = "Leandro Martinez"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "packmol"
3
- version = "21.2.1"
3
+ version = "21.2.2"
4
4
  description = "Packmol - Creates Initial Configurations for Molecular Dynamics Simulations"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -30,9 +30,9 @@ end subroutine setcell
30
30
  ! Ernesto G. Birgin.
31
31
  !
32
32
  ! Subroutines that set the indexes of a three-dimensional array
33
- ! given the undimensional counter of the vector (for an array
33
+ ! given the one-dimensional counter of the vector (for an array
34
34
  ! with dimensions (ncells(1),ncells(2),ncells(3)), and
35
- ! vice-versa.
35
+ ! vice-versa).
36
36
  !
37
37
  subroutine icell_to_cell(icell,ncells,cell)
38
38
  integer, intent(in) :: icell, ncells(3)
@@ -31,7 +31,7 @@ subroutine checkpoint(n,x)
31
31
  comptype(i) = .true.
32
32
  end do
33
33
 
34
- ! Call the subroutine that computes de function value
34
+ ! Call the subroutine that computes the function value
35
35
 
36
36
  call computef(n,x,fx)
37
37
 
@@ -84,7 +84,7 @@ subroutine checkpoint(n,x)
84
84
  xyzout_forced = trim(adjustl(xyzout))//'_FORCED'
85
85
  call output(n,x,xyzout_forced)
86
86
 
87
- write(*,*) ' The forced point was writen to the '
87
+ write(*,*) ' The forced point was written to the '
88
88
  write(*,*) ' output file: ', trim(adjustl(xyzout_forced))
89
89
  if ( crd ) write(*,*) ' ... and to CRD file: ', trim(adjustl(crdfile))
90
90
  write(*,*)
@@ -108,7 +108,7 @@ subroutine checkpoint(n,x)
108
108
  write(*,*)
109
109
  write(*,*) ' Very likely, if the input data was correct, '
110
110
  write(*,*) ' it is a reasonable starting configuration.'
111
- write(*,*) ' Check commentaries above for more details. '
111
+ write(*,*) ' Check comments above for more details. '
112
112
  write(*,hash1_line)
113
113
 
114
114
  return
@@ -91,10 +91,10 @@ subroutine getinp()
91
91
  write(*,*) ' Optional movefrac set: ', movefrac
92
92
  else if(keyword(i,1).eq.'movebadrandom') then
93
93
  movebadrandom = .true.
94
- write(*,*) ' Will move randomly bad molecues (movebadrandom) '
94
+ write(*,*) ' Will move randomly bad molecules (movebadrandom) '
95
95
  else if(keyword(i,1).eq.'disable_movebad') then
96
96
  disable_movebad = .true.
97
- write(*,*) ' Move-bad heursitic is dsabled. '
97
+ write(*,*) ' Move-bad heuristic is disabled. '
98
98
  else if(keyword(i,1).eq.'chkgrad') then
99
99
  chkgrad = .true.
100
100
  else if(keyword(i,1).eq.'writeout') then
@@ -155,7 +155,7 @@ subroutine getinp()
155
155
  read(keyword(i,2),*,iostat=ioerr) crdfile
156
156
  else if(keyword(i,1).eq.'add_box_sides') then
157
157
  add_box_sides = .true.
158
- write(*,*) ' Will print BOX SIDE informations. '
158
+ write(*,*) ' Will print BOX SIDE information. '
159
159
  read(keyword(i,2),*,iostat=ioerr) add_sides_fix
160
160
  if ( ioerr /= 0 ) then
161
161
  ioerr = 0
@@ -70,9 +70,9 @@ subroutine initial(n,x)
70
70
  if(dmax(itype).eq.0.) dmax(itype) = 1.d0
71
71
  end do
72
72
 
73
- ! Maximum size of the system: if you system is very large (about
73
+ ! Maximum size of the system: if your system is very large (about
74
74
  ! 80 nm wide), increase the sidemax parameter.
75
- ! Otherwise, the packing can be slow and unsucesful
75
+ ! Otherwise, the packing can be slow and unsuccessful
76
76
  allocate(cm_min(ntype,3), cm_max(ntype,3))
77
77
  x(:) = 0.d0
78
78
  call restmol(1,0,n,x,fx,.true.)
@@ -84,7 +84,7 @@ subroutine initial(n,x)
84
84
  write(*,*) ' z: [ ', sizemin(3),', ', sizemax(3), ' ] '
85
85
  write(*,*) ' If the system is larger than this, increase the sidemax parameter. '
86
86
 
87
- ! Create first aleatory guess
87
+ ! Create first random guess
88
88
 
89
89
  i = 0
90
90
  j = ntotmol*3
@@ -152,10 +152,10 @@ subroutine initial(n,x)
152
152
  if (using_pbc) then
153
153
  do i = 1, 3
154
154
  if (xcart(icart, i) < pbc_min(i) .or. xcart(icart, i) > pbc_max(i)) then
155
- write(*,*) "ERROR: Fixed molecule are outside the PBC box:"
155
+ write(*,*) "ERROR: Fixed molecules are outside the PBC box:"
156
156
  write(*,*) " Atom: ", ifatom, " of molecule: ", input_itype(iftype), " - coordinate: ", i
157
157
  write(*,*) " ", xcart(icart, i), " not in [", pbc_min(i), ", ", pbc_max(i), "]"
158
- write(*,*) "(after translating/rotation the fixed molecule with the given orientation)"
158
+ write(*,*) "(after translating/rotating the fixed molecule with the given orientation)"
159
159
  stop exit_code_input_error
160
160
  end if
161
161
  end do
@@ -259,14 +259,14 @@ subroutine initial(n,x)
259
259
  end do
260
260
  end do
261
261
  end do
262
- write(*,*) ' Mininum and maximum coordinates after constraint fitting: '
262
+ write(*,*) ' Minimum and maximum coordinates after constraint fitting: '
263
263
  write(*,*) ' x: [ ', sizemin(1),', ', sizemax(1), ' ] '
264
264
  write(*,*) ' y: [ ', sizemin(2),', ', sizemax(2), ' ] '
265
265
  write(*,*) ' z: [ ', sizemin(3),', ', sizemax(3), ' ] '
266
266
  sizemin = sizemin - 1.1d0 * radmax
267
267
  sizemax = sizemax + 1.1d0 * radmax
268
268
  ! When *not* using PBC, actually PBCs are used, but particles
269
- ! wont interact across the PBC because there is an empty layer
269
+ ! will not interact across the PBC because there is an empty layer
270
270
  ! of cells, given by the shift in the sizemin and sizemax dimensions,
271
271
  ! above defined.
272
272
  if (.not. using_pbc) then
@@ -294,7 +294,7 @@ subroutine initial(n,x)
294
294
  allocate(lcellnext(ncells(1)*ncells(2)*ncells(3)))
295
295
  allocate(empty_cell(ncells(1),ncells(2),ncells(3)))
296
296
 
297
- ! Reseting linked lists arrays
297
+ ! Resetting linked-list arrays
298
298
  latomfix(:,:,:) = 0
299
299
  latomfirst(:,:,:) = 0
300
300
  latomnext(:) = 0
@@ -317,7 +317,7 @@ subroutine initial(n,x)
317
317
  end do
318
318
  end if
319
319
 
320
- ! Reseting mass centers to be within the regions
320
+ ! Resetting mass centers to be within the regions
321
321
 
322
322
  write(*,*) ' Reseting center of mass... '
323
323
  cm_min = 1.d20
@@ -13,7 +13,7 @@ subroutine title()
13
13
  write(*,"(' PACKMOL - Packing optimization for the automated generation of', /&
14
14
  &' starting configurations for molecular dynamics simulations.', /&
15
15
  &' ',/&
16
- &t61,' Version 21.2.1 ')")
16
+ &t61,' Version 21.2.2 ')")
17
17
  write(*,hash3_line)
18
18
 
19
19
  end subroutine title
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes