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.
- packmol-21.2.2/.github/workflows/changelog.yml +12 -0
- {packmol-21.2.1 → packmol-21.2.2}/.gitignore +2 -0
- {packmol-21.2.1 → packmol-21.2.2}/CHANGELOG.md +5 -0
- {packmol-21.2.1 → packmol-21.2.2}/PKG-INFO +1 -1
- {packmol-21.2.1 → packmol-21.2.2}/fpm.toml +1 -1
- {packmol-21.2.1 → packmol-21.2.2}/pyproject.toml +1 -1
- packmol-21.2.2/python/packmol/binaries/packmol +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/cell_indexing.f90 +2 -2
- {packmol-21.2.1 → packmol-21.2.2}/src/checkpoint.f90 +3 -3
- {packmol-21.2.1 → packmol-21.2.2}/src/getinp.f90 +3 -3
- {packmol-21.2.1 → packmol-21.2.2}/src/initial.f90 +9 -9
- {packmol-21.2.1 → packmol-21.2.2}/src/title.f90 +1 -1
- packmol-21.2.1/python/packmol/binaries/packmol +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/.github/workflows/actions.yml +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/.github/workflows/build-wheels.yaml +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/AUTHORS +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/CMakeLists.txt +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/LICENSE +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/Makefile +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/README.md +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/app/packmol.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/compile_cmake.sh +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/configure +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/header +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/python/hatch_build.py +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/python/packmol/__init__.py +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/python/packmol/binaries/.gitignore +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/python/packmol/cli.py +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/python/tests/test_packmol.py +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/solvate.tcl +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/ahestetic.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/cenmass.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/cli_parser.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/comparegrad.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/comprest.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/compute_data.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/computef.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/computeg.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/exit_codes.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/flashmod.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/flashsort.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/fparc.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/gencan.f +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/gencan_ieee_signal_routines.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/gparc.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/gwalls.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/heuristics.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/input.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/jacobi.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/output.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/pbc.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/pgencan.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/polartocart.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/random.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/resetcells.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/restmol.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/setsizes.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/sizes.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/strlength.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/swaptype.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/swaptypemod.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/tobar.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/usegencan.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/src/writesuccess.f90 +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/Project.toml +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/benzene2.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/bilayer.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/bilayer_pbc.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/ieee_signaling.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/mixture.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/mixture_pbc.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/only_one_fixed.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/protein_outside_pbc_error.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/solvprotein.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/solvprotein_pbc.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/spherical.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/spherical_pbc.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/toy_with_fixed.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_conect.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_failed.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc2.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_negative_coordinates.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_outside_box.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_slab.inp +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/install_julia.sh +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/output_files/benzene2.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/output_files/water_connect.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/runtests.jl +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/CLA.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/SOD.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/benzene.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/ieee_signaling.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/ieee_signaling_box.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/palmitoil.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/protein.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/spherical.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/urea.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/water.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/water_box.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/structure_files/water_conect.pdb +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/test.sh +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/test_cli.sh +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/test_connectivity.sh +0 -0
- {packmol-21.2.1 → packmol-21.2.2}/testing/test_failed.sh +0 -0
- {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
|
|
@@ -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.
|
|
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
|
|
Binary file
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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/
|
|
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(*,*) '
|
|
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
|
-
!
|
|
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
|
-
!
|
|
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
|
-
!
|
|
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.
|
|
16
|
+
&t61,' Version 21.2.2 ')")
|
|
17
17
|
write(*,hash3_line)
|
|
18
18
|
|
|
19
19
|
end subroutine title
|
|
Binary file
|
|
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
|
|
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
|
{packmol-21.2.1 → packmol-21.2.2}/testing/input_files/water_box_pbc_negative_coordinates.inp
RENAMED
|
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
|