2.15.0 release notes#
These notes describe the user-visible changes in this release.
2.15.0#
Added#
Collective variables with analytic gradients for biased sampling and Markov state models.
seams_switch_rational()is the PLUMED RATIONAL switch times a C2 taper to zero at d_max. Aseams_cvhandle fixes the candidate rings between neighbour-list rebuilds and returns soft primitive-ring counts by size, ring-atom counts, soft HC basal hexagon pairs, the squared radius of gyration and the gyration-ellipsoid volume of a cluster, and products of logistic state clauses, each with its gradient in the coordinates under orthorhombic and triclinic periodic boundaries. The ring counts, ring-atom counts and hexagon pairs are twice continuously differentiable for n >= 3, and for n = 2 with d0 = 0. The squared radius of gyration and the volume are smooth only for a compact selection of positive total weight, and the volume has a kink where the cluster becomes flat. A value or gradient outside double range isSEAMS_ERR_RANGE, not a NaN or an infinity.
Changed#
The
seams_neighbours_buildreference states pinned frames for type 0. Type 99 on the mutual frames of the atoms (1, 1, 1) and (2, 1.2, 1.1) on the orthorhombic cell of edge 1e160 with origin (0, 0, 0), and on the triclinic cell of that edge with that origin and tilts 1, 0.5 and -0.25, returnsSEAMS_OKand an empty list at cutoffs 0.5 and 3.5. Type 99 on that triclinic cell’s cutoff graph at cutoff 0.5 returnsSEAMS_OKand an empty list. When the orthorhombic cutoff graph bins a coordinate, the fraction is (coordinate - origin) times the binary64 reciprocal of the edge. When that fraction is outside [0, 1) it subtracts the floor. A result that is not strictly below 1, NaN included, becomes 0. For a pair the orthorhombic cutoff cell list visits, it keeps the neighbour only when the squared separation of the wrapped coordinates and a periodic cell shift is strictly below the squared cutoff, both computed in binary64. An overflowing square and a NaN square fail that test. Type 0 on (0, 0, 0) and (2e154, 0, 0), edge 1e160, origin (0, 0, 0), cutoff 3e154, returnsSEAMS_OKand an empty list.seams_cv_needs_rebuildcompares state only and does not bin the cell, writes stale only onSEAMS_OKand leaves it unchanged on any error, and its return list names the range error.
Fixed#
seams_cv_rebuild,seams_cv_needs_rebuild,seams_cv_valueandseams_cv_statesreturnSEAMS_ERR_RANGEwith the linked-cell or minimum-image message when the cell is outside what those searches resolve, instead ofSEAMS_ERR_INTERNAL. A cell of edges 1e8, 1e8 and 20 makesseams_cv_rebuildreport that the linked-cell mesh is too fine.The nanotube tutorial links each of the six yodaStruct iceNanotube example files, and the Rust API page links the published lib.rs source.
With an installed linkcell (a shared library, as conda-forge and system packages provide),
libseams,libseams_langand the programs now link it directly. They calllc_functions from headers, and libyodaLib re-exports those symbols only when it holds the bundled linkcell, so a link with-Wl,--no-undefinedfailed with undefined references tolc_set_threadsandlc_team_run.Each seams output test case that writes files now uses a directory of its own, so parallel and repeated runs no longer share
../outputor fixed paths under the system temporary directory.Smooth collective variables bound ring and shortcut enumeration by the ring size and return a range error naming the step, ring, or path limit when a denser graph would pass it, instead of running without a bound. Any atom-type change marks a type-filtered selection stale. A gyration cluster whose smallest eigenvalue is at most 1e-10 times the largest has volume and gradient 0. Switch exponents above 4096 are rejected and the error names 4096.
Parallel and repeated runs of the
writeHistotest no longer sharecij.txt,q3.txtandq6.txt, because each run works in its own temporary directory.