packmol 21.2.2__tar.gz → 21.2.3__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 → packmol-21.2.3}/CHANGELOG.md +5 -1
- {packmol-21.2.2 → packmol-21.2.3}/PKG-INFO +1 -1
- {packmol-21.2.2 → packmol-21.2.3}/fpm.toml +1 -1
- {packmol-21.2.2 → packmol-21.2.3}/pyproject.toml +1 -1
- packmol-21.2.3/python/packmol/binaries/packmol +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/title.f90 +1 -1
- {packmol-21.2.2 → packmol-21.2.3}/testing/Project.toml +4 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/runtests.jl +5 -4
- packmol-21.2.2/python/packmol/binaries/packmol +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/.github/workflows/actions.yml +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/.github/workflows/build-wheels.yaml +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/.github/workflows/changelog.yml +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/.gitignore +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/AUTHORS +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/CMakeLists.txt +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/LICENSE +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/Makefile +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/README.md +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/app/packmol.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/compile_cmake.sh +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/configure +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/header +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/python/hatch_build.py +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/python/packmol/__init__.py +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/python/packmol/binaries/.gitignore +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/python/packmol/cli.py +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/python/tests/test_packmol.py +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/solvate.tcl +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/ahestetic.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/cell_indexing.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/cenmass.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/checkpoint.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/cli_parser.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/comparegrad.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/comprest.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/compute_data.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/computef.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/computeg.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/exit_codes.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/flashmod.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/flashsort.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/fparc.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/gencan.f +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/gencan_ieee_signal_routines.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/getinp.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/gparc.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/gwalls.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/heuristics.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/initial.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/input.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/jacobi.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/output.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/pbc.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/pgencan.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/polartocart.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/random.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/resetcells.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/restmol.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/setsizes.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/sizes.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/strlength.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/swaptype.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/swaptypemod.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/tobar.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/usegencan.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/src/writesuccess.f90 +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/benzene2.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/bilayer.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/bilayer_pbc.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/ieee_signaling.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/mixture.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/mixture_pbc.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/only_one_fixed.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/protein_outside_pbc_error.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/solvprotein.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/solvprotein_pbc.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/spherical.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/spherical_pbc.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/toy_with_fixed.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_conect.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_failed.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc2.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc_negative_coordinates.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc_outside_box.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/input_files/water_box_pbc_slab.inp +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/install_julia.sh +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/output_files/benzene2.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/output_files/water_connect.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/CLA.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/SOD.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/benzene.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/ieee_signaling.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/ieee_signaling_box.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/palmitoil.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/protein.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/spherical.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/urea.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/water.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/water_box.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/structure_files/water_conect.pdb +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/test.sh +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/test_cli.sh +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/test_connectivity.sh +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/testing/test_failed.sh +0 -0
- {packmol-21.2.2 → packmol-21.2.3}/update_version.sh +0 -0
|
@@ -10,7 +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.
|
|
13
|
+
Version 21.2.3
|
|
14
|
+
--------------
|
|
15
|
+
- ![INFO][badge-info] Update versions of CellListMap.jl and PDBTools.jl packages in test infraestructure.
|
|
16
|
+
|
|
17
|
+
Version 21.2.2
|
|
14
18
|
--------------
|
|
15
19
|
- ![INFO][badge-info] Fix code typos.
|
|
16
20
|
- ![INFO][badge-info] Add changelog verification CI run.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: packmol
|
|
3
|
-
Version: 21.2.
|
|
3
|
+
Version: 21.2.3
|
|
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
|
|
@@ -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.3 ')")
|
|
17
17
|
write(*,hash3_line)
|
|
18
18
|
|
|
19
19
|
end subroutine title
|
|
@@ -22,14 +22,15 @@ struct MinimumDistance
|
|
|
22
22
|
j::Int
|
|
23
23
|
d::Float64
|
|
24
24
|
end
|
|
25
|
-
function update_mind(
|
|
25
|
+
function update_mind(pair, pdb, md::MinimumDistance)
|
|
26
|
+
(; i, j, d2) = pair
|
|
26
27
|
residue(pdb[i]) == residue(pdb[j]) && return md
|
|
27
28
|
d = sqrt(d2)
|
|
28
29
|
return d < md.d ? MinimumDistance(i, j, d) : md
|
|
29
30
|
end
|
|
30
|
-
CellListMap.reducer(md1::MinimumDistance, md2::MinimumDistance) = md1.d < md2.d ? md1 : md2
|
|
31
|
+
CellListMap.reducer!(md1::MinimumDistance, md2::MinimumDistance) = md1.d < md2.d ? md1 : md2
|
|
31
32
|
CellListMap.copy_output(md::MinimumDistance) = md
|
|
32
|
-
CellListMap.reset_output(::MinimumDistance) = MinimumDistance(0, 0, +Inf)
|
|
33
|
+
CellListMap.reset_output!(::MinimumDistance) = MinimumDistance(0, 0, +Inf)
|
|
33
34
|
|
|
34
35
|
function check_mind(input_file::String)
|
|
35
36
|
tolerance = nothing
|
|
@@ -63,7 +64,7 @@ function check_mind(input_file::String)
|
|
|
63
64
|
cutoff = tolerance * 1.5,
|
|
64
65
|
output = MinimumDistance(0, 0, +Inf),
|
|
65
66
|
)
|
|
66
|
-
mind =
|
|
67
|
+
mind = pairwise!((pair,md) -> update_mind(pair, pdb, md), sys)
|
|
67
68
|
if (mind.d < (1 - precision) * tolerance)
|
|
68
69
|
error("""\n
|
|
69
70
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{packmol-21.2.2 → packmol-21.2.3}/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
|