The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.
| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-11-01 | 5.6 kB | |
| v0.23.0 source code.tar.gz | 2025-11-01 | 44.0 MB | |
| v0.23.0 source code.zip | 2025-11-01 | 44.1 MB | |
| Totals: 3 Items | 88.1 MB | 2 | |
Breaking changes
pressureandvirialnow return tensor quantities, e.g. 3x3 in 3D. The virial now takes into account all pairwise and specific interaction terms automatically. The virial is also supported for theEwaldandPMEmethods, but not constraints or implicit solvent methods. Custom general interactions can define a virial term if required. The scalar values can be calcuated withscalar_pressureandscalar_virial, with the corresponding loggersScalarPressureLoggerandScalarVirialLogger. The newforces_virialfunction allows calculation of both the forces and the virial at the same time, which can save computation. Thekinetic_energy_tensorfunction allows the kinetic energy of a system in its tensorial form to be calculated. Theneeds_virialfunction should be defined for couplers that require virial computation.- All pairwise interactions should be a subtype of the abstract type
PairwiseInteraction. This was previously removed but has been added back to allow dispatch to be used in the future. - General interactions should now define
AtomsCalculators.forces!rather thanAtomsCalculators.forcesand should mutate the input forces, leading to fewer allocations. This means that the order of general interactions can matter and that general interactions can be used to modify forces directly. LennardJonesSoftCoreandCoulombSoftCoreare removed and replaced withLennardJonesSoftCoreBeutler/LennardJonesSoftCoreGapsysandCoulombSoftCoreBeutler/CoulombSoftCoreGapsys, two popular soft core implementations.MonteCarloAnisotropicBarostatandMonteCarloMembraneBarostatare removed as their functionality is now available usingMonteCarloBarostatwith thecoupling_typekeyword argument.TrajectoryWriterandwrite_structurenow keep molecules connected over the periodic boundaries by default. Thecorrectionkeyword argument allows this to be controlled, with:wrapproviding the previous behaviour.StructureWriter, which wrote to the PDB format, is removed.TrajectoryWritershould be used to write to all file formats including PDB.RescaleThermostatis renamed toImmediateThermostatto better reflect what it does and to avoid confusion with the newVelocityRescaleThermostat.- The
implicit_solventkeyword argument when setting up a system from a file now takes symbols rather than strings, e.g.:gbn2instead of"gbn2", to increase consistency across the package. - The default
nonbonded_methodduring setup is now:none, i.e. short range interactions, compared to the reaction field approximation used before (now available with:cutoff). - The
dist_neighborskeyword argument during setup from a file is replaced withdist_buffer, a buffer distance added todist_cutoff. This means thatdist_cutoffcan be changed without having to also updatedist_buffer. - The arguments of
apply_loggers!andapply_couplers!are changed. AbstractGBSA,ResidueType,AtomType,PeriodicTorsionType,born_radii_and_grad,extract_parameters,inject_gradientsandmolecule_centersare no longer exported.- The type parameters of
CubicBoundary,RectangularBoundaryandTriclinicBoundaryare changed.
New features
- Ewald and particle mesh Ewald (PME) electrostatic summation methods are added as the
EwaldandPMEgeneral interactions respectively, which should be used alongside the correspondingCoulombEwaldpairwise interaction.PMEruns on all backends and is compatible with Enzyme when thegrad_safeoption is given during system setup from a file. Thenonbonded_methodkeyword argument during system setup from a file allows the electrostatic summation approach to be selected. Theewald_error_tolandapproximate_pmekeyword arguments are also added. - Constraints now work on the GPU and the documentation is improved. The
constraintsandrigid_waterkeyword arguments during system setup from a file allow different constraint options to be selected. Thecheck_constraintsfunction is added to check both position and velocity constraints. - The stochastic velocity rescaling thermostat is added as
VelocityRescaleThermostat. - The stochastic cell rescaling barostat is added as
CRescaleBarostat. - Non-isotropic pressure coupling is now available for the
BerendsenBarostatwith thecoupling_typekeyword argument. - The cutoff interface is now available for custom pairwise interactions with the use of
force_cutoffandpe_cutoff. Documentation for custom cutoff methods is added. - Functions and documentation for calculating free energies with the Multistate Bennett Acceptance Ratio (MBAR) method are added.
- The
EnsembleSystemstruct andread_frame!function are added to help with loading trajectory data into aSystem. - The
DisplacementsLogger, useful for calculating properties such as mean squared displacements, is added. - The
replica_boundarieskeyword argument is added forReplicaSystem. - The
cutoffkeyword argument is added forGravity. - More informative errors are given during setup for incompatible arguments.
Performance improvements
- GPU simulation is made faster.
Bug fixes
- A bug when applying cutoffs is fixed.
- A bug when using a
TriclinicBoundarywith CUDA is fixed. - A bug when using custom atom types with CUDA is fixed.
- A rare bug in force calculation with CUDA is fixed.
- Bugs when setting up a
TriclinicBoundarywith certain values are fixed. - A bug when using
CellListMapNeighborFinderin 2D is fixed.