hillclimber 0.1.5__cp313-cp313-musllinux_1_2_aarch64.whl
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.
- hillclimber/__init__.py +39 -0
- hillclimber/actions.py +53 -0
- hillclimber/analysis.py +590 -0
- hillclimber/biases.py +293 -0
- hillclimber/calc.py +22 -0
- hillclimber/cvs.py +1070 -0
- hillclimber/interfaces.py +133 -0
- hillclimber/metadynamics.py +325 -0
- hillclimber/nodes.py +6 -0
- hillclimber/opes.py +359 -0
- hillclimber/selectors.py +230 -0
- hillclimber/virtual_atoms.py +341 -0
- hillclimber-0.1.5.dist-info/METADATA +210 -0
- hillclimber-0.1.5.dist-info/RECORD +472 -0
- hillclimber-0.1.5.dist-info/WHEEL +5 -0
- hillclimber-0.1.5.dist-info/entry_points.txt +8 -0
- hillclimber-0.1.5.dist-info/licenses/LICENSE +165 -0
- hillclimber-0.1.5.dist-info/sboms/auditwheel.cdx.json +1 -0
- hillclimber.libs/libgcc_s-2d945d6c.so.1 +0 -0
- hillclimber.libs/libgomp-1ede7ee7.so.1.0.0 +0 -0
- hillclimber.libs/libstdc++-85f2cd6d.so.6.0.33 +0 -0
- plumed/__init__.py +104 -0
- plumed/_lib/bin/plumed +0 -0
- plumed/_lib/bin/plumed-config +9 -0
- plumed/_lib/bin/plumed-patch +9 -0
- plumed/_lib/include/plumed/adjmat/AdjacencyMatrixBase.h +659 -0
- plumed/_lib/include/plumed/adjmat/ContactMatrix.h +59 -0
- plumed/_lib/include/plumed/asmjit/arch.h +228 -0
- plumed/_lib/include/plumed/asmjit/arm.h +43 -0
- plumed/_lib/include/plumed/asmjit/asmjit.h +69 -0
- plumed/_lib/include/plumed/asmjit/asmjit_apibegin.h +143 -0
- plumed/_lib/include/plumed/asmjit/asmjit_apiend.h +93 -0
- plumed/_lib/include/plumed/asmjit/asmjit_build.h +971 -0
- plumed/_lib/include/plumed/asmjit/assembler.h +183 -0
- plumed/_lib/include/plumed/asmjit/base.h +56 -0
- plumed/_lib/include/plumed/asmjit/codebuilder.h +944 -0
- plumed/_lib/include/plumed/asmjit/codecompiler.h +767 -0
- plumed/_lib/include/plumed/asmjit/codeemitter.h +528 -0
- plumed/_lib/include/plumed/asmjit/codeholder.h +777 -0
- plumed/_lib/include/plumed/asmjit/constpool.h +286 -0
- plumed/_lib/include/plumed/asmjit/cpuinfo.h +402 -0
- plumed/_lib/include/plumed/asmjit/func.h +1327 -0
- plumed/_lib/include/plumed/asmjit/globals.h +370 -0
- plumed/_lib/include/plumed/asmjit/inst.h +137 -0
- plumed/_lib/include/plumed/asmjit/logging.h +317 -0
- plumed/_lib/include/plumed/asmjit/misc_p.h +103 -0
- plumed/_lib/include/plumed/asmjit/moved_string.h +318 -0
- plumed/_lib/include/plumed/asmjit/operand.h +1599 -0
- plumed/_lib/include/plumed/asmjit/osutils.h +207 -0
- plumed/_lib/include/plumed/asmjit/regalloc_p.h +597 -0
- plumed/_lib/include/plumed/asmjit/runtime.h +227 -0
- plumed/_lib/include/plumed/asmjit/simdtypes.h +1104 -0
- plumed/_lib/include/plumed/asmjit/utils.h +1387 -0
- plumed/_lib/include/plumed/asmjit/vmem.h +183 -0
- plumed/_lib/include/plumed/asmjit/x86.h +45 -0
- plumed/_lib/include/plumed/asmjit/x86assembler.h +125 -0
- plumed/_lib/include/plumed/asmjit/x86builder.h +117 -0
- plumed/_lib/include/plumed/asmjit/x86compiler.h +322 -0
- plumed/_lib/include/plumed/asmjit/x86emitter.h +5149 -0
- plumed/_lib/include/plumed/asmjit/x86globals.h +535 -0
- plumed/_lib/include/plumed/asmjit/x86inst.h +2547 -0
- plumed/_lib/include/plumed/asmjit/x86instimpl_p.h +74 -0
- plumed/_lib/include/plumed/asmjit/x86internal_p.h +108 -0
- plumed/_lib/include/plumed/asmjit/x86logging_p.h +92 -0
- plumed/_lib/include/plumed/asmjit/x86misc.h +417 -0
- plumed/_lib/include/plumed/asmjit/x86operand.h +1133 -0
- plumed/_lib/include/plumed/asmjit/x86regalloc_p.h +734 -0
- plumed/_lib/include/plumed/asmjit/zone.h +1157 -0
- plumed/_lib/include/plumed/bias/Bias.h +82 -0
- plumed/_lib/include/plumed/bias/ReweightBase.h +58 -0
- plumed/_lib/include/plumed/blas/blas.h +253 -0
- plumed/_lib/include/plumed/blas/def_external.h +61 -0
- plumed/_lib/include/plumed/blas/def_internal.h +97 -0
- plumed/_lib/include/plumed/blas/real.h +49 -0
- plumed/_lib/include/plumed/cltools/CLTool.h +32 -0
- plumed/_lib/include/plumed/clusters/ClusteringBase.h +70 -0
- plumed/_lib/include/plumed/colvar/Colvar.h +32 -0
- plumed/_lib/include/plumed/colvar/ColvarInput.h +68 -0
- plumed/_lib/include/plumed/colvar/ColvarShortcut.h +81 -0
- plumed/_lib/include/plumed/colvar/CoordinationBase.h +52 -0
- plumed/_lib/include/plumed/colvar/MultiColvarTemplate.h +333 -0
- plumed/_lib/include/plumed/colvar/PathMSDBase.h +101 -0
- plumed/_lib/include/plumed/colvar/RMSDVector.h +78 -0
- plumed/_lib/include/plumed/config/Config.h +118 -0
- plumed/_lib/include/plumed/config/version.h +9 -0
- plumed/_lib/include/plumed/contour/ContourFindingObject.h +87 -0
- plumed/_lib/include/plumed/contour/DistanceFromContourBase.h +82 -0
- plumed/_lib/include/plumed/contour/FindContour.h +67 -0
- plumed/_lib/include/plumed/core/Action.h +540 -0
- plumed/_lib/include/plumed/core/ActionAnyorder.h +48 -0
- plumed/_lib/include/plumed/core/ActionAtomistic.h +343 -0
- plumed/_lib/include/plumed/core/ActionForInterface.h +99 -0
- plumed/_lib/include/plumed/core/ActionPilot.h +57 -0
- plumed/_lib/include/plumed/core/ActionRegister.h +124 -0
- plumed/_lib/include/plumed/core/ActionSet.h +163 -0
- plumed/_lib/include/plumed/core/ActionSetup.h +48 -0
- plumed/_lib/include/plumed/core/ActionShortcut.h +73 -0
- plumed/_lib/include/plumed/core/ActionToGetData.h +59 -0
- plumed/_lib/include/plumed/core/ActionToPutData.h +101 -0
- plumed/_lib/include/plumed/core/ActionWithArguments.h +140 -0
- plumed/_lib/include/plumed/core/ActionWithMatrix.h +87 -0
- plumed/_lib/include/plumed/core/ActionWithValue.h +258 -0
- plumed/_lib/include/plumed/core/ActionWithVector.h +94 -0
- plumed/_lib/include/plumed/core/ActionWithVirtualAtom.h +123 -0
- plumed/_lib/include/plumed/core/CLTool.h +177 -0
- plumed/_lib/include/plumed/core/CLToolMain.h +102 -0
- plumed/_lib/include/plumed/core/CLToolRegister.h +108 -0
- plumed/_lib/include/plumed/core/Colvar.h +115 -0
- plumed/_lib/include/plumed/core/DataPassingObject.h +94 -0
- plumed/_lib/include/plumed/core/DataPassingTools.h +54 -0
- plumed/_lib/include/plumed/core/DomainDecomposition.h +120 -0
- plumed/_lib/include/plumed/core/ExchangePatterns.h +47 -0
- plumed/_lib/include/plumed/core/FlexibleBin.h +63 -0
- plumed/_lib/include/plumed/core/GREX.h +61 -0
- plumed/_lib/include/plumed/core/GenericMolInfo.h +89 -0
- plumed/_lib/include/plumed/core/Group.h +41 -0
- plumed/_lib/include/plumed/core/ModuleMap.h +30 -0
- plumed/_lib/include/plumed/core/ParallelTaskManager.h +1023 -0
- plumed/_lib/include/plumed/core/PbcAction.h +61 -0
- plumed/_lib/include/plumed/core/PlumedMain.h +632 -0
- plumed/_lib/include/plumed/core/PlumedMainInitializer.h +118 -0
- plumed/_lib/include/plumed/core/RegisterBase.h +340 -0
- plumed/_lib/include/plumed/core/TargetDist.h +48 -0
- plumed/_lib/include/plumed/core/Value.h +547 -0
- plumed/_lib/include/plumed/core/WithCmd.h +93 -0
- plumed/_lib/include/plumed/dimred/SMACOF.h +55 -0
- plumed/_lib/include/plumed/drr/DRR.h +383 -0
- plumed/_lib/include/plumed/drr/colvar_UIestimator.h +777 -0
- plumed/_lib/include/plumed/fisst/legendre_rule_fast.h +44 -0
- plumed/_lib/include/plumed/function/Custom.h +54 -0
- plumed/_lib/include/plumed/function/Function.h +85 -0
- plumed/_lib/include/plumed/function/FunctionOfMatrix.h +368 -0
- plumed/_lib/include/plumed/function/FunctionOfScalar.h +135 -0
- plumed/_lib/include/plumed/function/FunctionOfVector.h +296 -0
- plumed/_lib/include/plumed/function/FunctionSetup.h +180 -0
- plumed/_lib/include/plumed/function/FunctionShortcut.h +130 -0
- plumed/_lib/include/plumed/function/FunctionWithSingleArgument.h +165 -0
- plumed/_lib/include/plumed/gridtools/ActionWithGrid.h +43 -0
- plumed/_lib/include/plumed/gridtools/EvaluateGridFunction.h +99 -0
- plumed/_lib/include/plumed/gridtools/FunctionOfGrid.h +295 -0
- plumed/_lib/include/plumed/gridtools/GridCoordinatesObject.h +179 -0
- plumed/_lib/include/plumed/gridtools/GridSearch.h +135 -0
- plumed/_lib/include/plumed/gridtools/Interpolator.h +45 -0
- plumed/_lib/include/plumed/gridtools/KDE.h +455 -0
- plumed/_lib/include/plumed/gridtools/RDF.h +40 -0
- plumed/_lib/include/plumed/gridtools/SumOfKernels.h +219 -0
- plumed/_lib/include/plumed/isdb/MetainferenceBase.h +398 -0
- plumed/_lib/include/plumed/lapack/def_external.h +207 -0
- plumed/_lib/include/plumed/lapack/def_internal.h +388 -0
- plumed/_lib/include/plumed/lapack/lapack.h +899 -0
- plumed/_lib/include/plumed/lapack/lapack_limits.h +79 -0
- plumed/_lib/include/plumed/lapack/real.h +50 -0
- plumed/_lib/include/plumed/lepton/CompiledExpression.h +164 -0
- plumed/_lib/include/plumed/lepton/CustomFunction.h +143 -0
- plumed/_lib/include/plumed/lepton/Exception.h +93 -0
- plumed/_lib/include/plumed/lepton/ExpressionProgram.h +137 -0
- plumed/_lib/include/plumed/lepton/ExpressionTreeNode.h +145 -0
- plumed/_lib/include/plumed/lepton/Lepton.h +85 -0
- plumed/_lib/include/plumed/lepton/MSVC_erfc.h +123 -0
- plumed/_lib/include/plumed/lepton/Operation.h +1302 -0
- plumed/_lib/include/plumed/lepton/ParsedExpression.h +165 -0
- plumed/_lib/include/plumed/lepton/Parser.h +111 -0
- plumed/_lib/include/plumed/lepton/windowsIncludes.h +73 -0
- plumed/_lib/include/plumed/mapping/Path.h +44 -0
- plumed/_lib/include/plumed/mapping/PathProjectionCalculator.h +57 -0
- plumed/_lib/include/plumed/matrixtools/MatrixOperationBase.h +54 -0
- plumed/_lib/include/plumed/matrixtools/MatrixTimesMatrix.h +309 -0
- plumed/_lib/include/plumed/matrixtools/MatrixTimesVectorBase.h +365 -0
- plumed/_lib/include/plumed/matrixtools/OuterProduct.h +238 -0
- plumed/_lib/include/plumed/maze/Core.h +65 -0
- plumed/_lib/include/plumed/maze/Loss.h +86 -0
- plumed/_lib/include/plumed/maze/Member.h +66 -0
- plumed/_lib/include/plumed/maze/Memetic.h +799 -0
- plumed/_lib/include/plumed/maze/Optimizer.h +357 -0
- plumed/_lib/include/plumed/maze/Random_MT.h +156 -0
- plumed/_lib/include/plumed/maze/Tools.h +183 -0
- plumed/_lib/include/plumed/metatomic/vesin.h +188 -0
- plumed/_lib/include/plumed/molfile/Gromacs.h +2013 -0
- plumed/_lib/include/plumed/molfile/endianswap.h +217 -0
- plumed/_lib/include/plumed/molfile/fastio.h +683 -0
- plumed/_lib/include/plumed/molfile/largefiles.h +78 -0
- plumed/_lib/include/plumed/molfile/libmolfile_plugin.h +77 -0
- plumed/_lib/include/plumed/molfile/molfile_plugin.h +1034 -0
- plumed/_lib/include/plumed/molfile/periodic_table.h +248 -0
- plumed/_lib/include/plumed/molfile/readpdb.h +447 -0
- plumed/_lib/include/plumed/molfile/vmdplugin.h +236 -0
- plumed/_lib/include/plumed/multicolvar/MultiColvarShortcuts.h +45 -0
- plumed/_lib/include/plumed/opes/ExpansionCVs.h +79 -0
- plumed/_lib/include/plumed/sasa/Sasa.h +32 -0
- plumed/_lib/include/plumed/secondarystructure/SecondaryStructureBase.h +372 -0
- plumed/_lib/include/plumed/setup/ActionSetup.h +25 -0
- plumed/_lib/include/plumed/small_vector/small_vector.h +6114 -0
- plumed/_lib/include/plumed/symfunc/CoordinationNumbers.h +41 -0
- plumed/_lib/include/plumed/tools/Angle.h +52 -0
- plumed/_lib/include/plumed/tools/AtomDistribution.h +138 -0
- plumed/_lib/include/plumed/tools/AtomNumber.h +152 -0
- plumed/_lib/include/plumed/tools/BiasRepresentation.h +106 -0
- plumed/_lib/include/plumed/tools/BitmaskEnum.h +167 -0
- plumed/_lib/include/plumed/tools/Brent1DRootSearch.h +159 -0
- plumed/_lib/include/plumed/tools/CheckInRange.h +44 -0
- plumed/_lib/include/plumed/tools/Citations.h +74 -0
- plumed/_lib/include/plumed/tools/ColvarOutput.h +118 -0
- plumed/_lib/include/plumed/tools/Communicator.h +316 -0
- plumed/_lib/include/plumed/tools/ConjugateGradient.h +80 -0
- plumed/_lib/include/plumed/tools/DLLoader.h +79 -0
- plumed/_lib/include/plumed/tools/ERMSD.h +73 -0
- plumed/_lib/include/plumed/tools/Exception.h +406 -0
- plumed/_lib/include/plumed/tools/File.h +28 -0
- plumed/_lib/include/plumed/tools/FileBase.h +153 -0
- plumed/_lib/include/plumed/tools/FileTools.h +37 -0
- plumed/_lib/include/plumed/tools/ForwardDecl.h +54 -0
- plumed/_lib/include/plumed/tools/Grid.h +638 -0
- plumed/_lib/include/plumed/tools/HistogramBead.h +136 -0
- plumed/_lib/include/plumed/tools/IFile.h +117 -0
- plumed/_lib/include/plumed/tools/KernelFunctions.h +113 -0
- plumed/_lib/include/plumed/tools/Keywords.h +380 -0
- plumed/_lib/include/plumed/tools/LatticeReduction.h +66 -0
- plumed/_lib/include/plumed/tools/LeptonCall.h +64 -0
- plumed/_lib/include/plumed/tools/LinkCells.h +126 -0
- plumed/_lib/include/plumed/tools/Log.h +41 -0
- plumed/_lib/include/plumed/tools/LoopUnroller.h +163 -0
- plumed/_lib/include/plumed/tools/Matrix.h +721 -0
- plumed/_lib/include/plumed/tools/MatrixSquareBracketsAccess.h +138 -0
- plumed/_lib/include/plumed/tools/MergeVectorTools.h +153 -0
- plumed/_lib/include/plumed/tools/Minimise1DBrent.h +244 -0
- plumed/_lib/include/plumed/tools/MinimiseBase.h +120 -0
- plumed/_lib/include/plumed/tools/MolDataClass.h +51 -0
- plumed/_lib/include/plumed/tools/NeighborList.h +112 -0
- plumed/_lib/include/plumed/tools/OFile.h +286 -0
- plumed/_lib/include/plumed/tools/OpenACC.h +180 -0
- plumed/_lib/include/plumed/tools/OpenMP.h +75 -0
- plumed/_lib/include/plumed/tools/PDB.h +154 -0
- plumed/_lib/include/plumed/tools/Pbc.h +139 -0
- plumed/_lib/include/plumed/tools/PlumedHandle.h +105 -0
- plumed/_lib/include/plumed/tools/RMSD.h +493 -0
- plumed/_lib/include/plumed/tools/Random.h +80 -0
- plumed/_lib/include/plumed/tools/RootFindingBase.h +79 -0
- plumed/_lib/include/plumed/tools/Stopwatch.h +475 -0
- plumed/_lib/include/plumed/tools/Subprocess.h +142 -0
- plumed/_lib/include/plumed/tools/SwitchingFunction.h +208 -0
- plumed/_lib/include/plumed/tools/Tensor.h +724 -0
- plumed/_lib/include/plumed/tools/TokenizedLine.h +123 -0
- plumed/_lib/include/plumed/tools/Tools.h +638 -0
- plumed/_lib/include/plumed/tools/Torsion.h +55 -0
- plumed/_lib/include/plumed/tools/TrajectoryParser.h +118 -0
- plumed/_lib/include/plumed/tools/Tree.h +61 -0
- plumed/_lib/include/plumed/tools/TypesafePtr.h +463 -0
- plumed/_lib/include/plumed/tools/Units.h +167 -0
- plumed/_lib/include/plumed/tools/Vector.h +433 -0
- plumed/_lib/include/plumed/tools/View.h +296 -0
- plumed/_lib/include/plumed/tools/View2D.h +100 -0
- plumed/_lib/include/plumed/tools/h36.h +39 -0
- plumed/_lib/include/plumed/vatom/ActionWithVirtualAtom.h +32 -0
- plumed/_lib/include/plumed/ves/BasisFunctions.h +380 -0
- plumed/_lib/include/plumed/ves/CoeffsBase.h +310 -0
- plumed/_lib/include/plumed/ves/CoeffsMatrix.h +220 -0
- plumed/_lib/include/plumed/ves/CoeffsVector.h +251 -0
- plumed/_lib/include/plumed/ves/FermiSwitchingFunction.h +74 -0
- plumed/_lib/include/plumed/ves/GridIntegrationWeights.h +50 -0
- plumed/_lib/include/plumed/ves/GridLinearInterpolation.h +81 -0
- plumed/_lib/include/plumed/ves/GridProjWeights.h +61 -0
- plumed/_lib/include/plumed/ves/LinearBasisSetExpansion.h +303 -0
- plumed/_lib/include/plumed/ves/Optimizer.h +444 -0
- plumed/_lib/include/plumed/ves/TargetDistModifer.h +53 -0
- plumed/_lib/include/plumed/ves/TargetDistribution.h +266 -0
- plumed/_lib/include/plumed/ves/VesBias.h +545 -0
- plumed/_lib/include/plumed/ves/VesTools.h +142 -0
- plumed/_lib/include/plumed/ves/WaveletGrid.h +75 -0
- plumed/_lib/include/plumed/volumes/ActionVolume.h +268 -0
- plumed/_lib/include/plumed/volumes/VolumeShortcut.h +147 -0
- plumed/_lib/include/plumed/wrapper/Plumed.h +5025 -0
- plumed/_lib/include/plumed/xdrfile/xdrfile.h +663 -0
- plumed/_lib/include/plumed/xdrfile/xdrfile_trr.h +89 -0
- plumed/_lib/include/plumed/xdrfile/xdrfile_xtc.h +90 -0
- plumed/_lib/lib/PythonCVInterface.so +0 -0
- plumed/_lib/lib/libplumed.a +0 -0
- plumed/_lib/lib/libplumed.so +0 -0
- plumed/_lib/lib/libplumedKernel.so +0 -0
- plumed/_lib/lib/libplumedWrapper.a +0 -0
- plumed/_lib/lib/pkgconfig/plumed.pc +13 -0
- plumed/_lib/lib/pkgconfig/plumedInternals.pc +13 -0
- plumed/_lib/lib/pkgconfig/plumedWrapper.pc +13 -0
- plumed/_lib/lib/plumed/fortran/plumed.f90 +879 -0
- plumed/_lib/lib/plumed/fortran/plumed_f08.f90 +2625 -0
- plumed/_lib/lib/plumed/modulefile +69 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.config +43 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/CMakeLists.txt +543 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/CMakeLists.txt.preplumed +540 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.cpp +1628 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.cpp.preplumed +1590 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.h +103 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/expanded.h.preplumed +99 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/sim_util.cpp +2527 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdlib/sim_util.cpp.preplumed +2513 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp +208 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp.preplumed +175 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.h +408 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/legacymdrunoptions.h.preplumed +394 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/md.cpp +2348 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/md.cpp.preplumed +2091 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/minimize.cpp +3573 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/minimize.cpp.preplumed +3495 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.cpp +1506 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.cpp.preplumed +1402 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.h +114 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/replicaexchange.h.preplumed +106 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/rerun.cpp +997 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/rerun.cpp.preplumed +906 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/runner.cpp +2780 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/mdrun/runner.cpp.preplumed +2738 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp +224 -0
- plumed/_lib/lib/plumed/patches/gromacs-2022.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp.preplumed +222 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.config +43 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/CMakeLists.txt +549 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/CMakeLists.txt.preplumed +546 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.cpp +1632 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.cpp.preplumed +1594 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.h +104 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/expanded.h.preplumed +100 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/sim_util.cpp +2624 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdlib/sim_util.cpp.preplumed +2610 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp +208 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.cpp.preplumed +175 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.h +409 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/legacymdrunoptions.h.preplumed +395 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/md.cpp +2419 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/md.cpp.preplumed +2164 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/minimize.cpp +3546 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/minimize.cpp.preplumed +3468 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.cpp +1513 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.cpp.preplumed +1409 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.h +114 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/replicaexchange.h.preplumed +106 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/rerun.cpp +991 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/rerun.cpp.preplumed +900 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/runner.cpp +2895 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/mdrun/runner.cpp.preplumed +2849 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp +224 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp.preplumed +222 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/decidegpuusage.cpp +886 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/decidegpuusage.cpp.preplumed +880 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h +347 -0
- plumed/_lib/lib/plumed/patches/gromacs-2023.5.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h.preplumed +345 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.config +43 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/CMakeLists.txt +575 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/CMakeLists.txt.preplumed +572 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.cpp +1632 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.cpp.preplumed +1594 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.h +104 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/expanded.h.preplumed +100 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/sim_util.cpp +2564 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdlib/sim_util.cpp.preplumed +2550 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.cpp +208 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.cpp.preplumed +175 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.h +410 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/legacymdrunoptions.h.preplumed +396 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/md.cpp +2435 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/md.cpp.preplumed +2187 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/minimize.cpp +3592 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/minimize.cpp.preplumed +3514 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.cpp +1513 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.cpp.preplumed +1409 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.h +114 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/replicaexchange.h.preplumed +106 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/rerun.cpp +958 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/rerun.cpp.preplumed +929 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/runner.cpp +2987 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/mdrun/runner.cpp.preplumed +2941 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp +224 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/modularsimulator/expandedensembleelement.cpp.preplumed +222 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/decidegpuusage.cpp +904 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/decidegpuusage.cpp.preplumed +898 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h +353 -0
- plumed/_lib/lib/plumed/patches/gromacs-2024.3.diff/src/gromacs/taskassignment/include/gromacs/taskassignment/decidegpuusage.h.preplumed +351 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.config +39 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/cmake/gmxManagePlumed.cmake +82 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/cmake/gmxManagePlumed.cmake.preplumed +82 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedMDModule.cpp +162 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedMDModule.cpp.preplumed +154 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.cpp +107 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.cpp.preplumed +99 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.h +120 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedOptions.h.preplumed +111 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.cpp +215 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.cpp.preplumed +197 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.h +87 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/applied_forces/plumed/plumedforceprovider.h.preplumed +86 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrun/runner.cpp +2971 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrun/runner.cpp.preplumed +2970 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrunutility/mdmodulesnotifiers.h +430 -0
- plumed/_lib/lib/plumed/patches/gromacs-2025.0.diff/src/gromacs/mdrunutility/mdmodulesnotifiers.h.preplumed +429 -0
- plumed/_lib/lib/plumed/patches/namd-2.12.config +30 -0
- plumed/_lib/lib/plumed/patches/namd-2.12.diff +267 -0
- plumed/_lib/lib/plumed/patches/namd-2.13.config +30 -0
- plumed/_lib/lib/plumed/patches/namd-2.13.diff +267 -0
- plumed/_lib/lib/plumed/patches/namd-2.14.config +30 -0
- plumed/_lib/lib/plumed/patches/namd-2.14.diff +268 -0
- plumed/_lib/lib/plumed/patches/patch.sh +500 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.config +25 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/forces.f90 +368 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/forces.f90.preplumed +366 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_forces.f90 +71 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_forces.f90.preplumed +24 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_initialization.f90 +62 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/pwscf.f90 +189 -0
- plumed/_lib/lib/plumed/patches/qespresso-5.0.2.diff/PW/src/pwscf.f90.preplumed +185 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.config +26 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/forces.f90 +422 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/forces.f90.preplumed +420 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_ext_forces.f90 +70 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_ext_forces.f90.preplumed +23 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_initialization.f90 +62 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/run_pwscf.f90 +233 -0
- plumed/_lib/lib/plumed/patches/qespresso-6.2.diff/PW/src/run_pwscf.f90.preplumed +230 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.config +28 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/Modules/Makefile +175 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/Modules/Makefile.preplumed +171 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/forces.f90 +486 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/forces.f90.preplumed +484 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_ext_forces.f90 +74 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_ext_forces.f90.preplumed +23 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_initialization.f90 +64 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/run_pwscf.f90 +532 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.0.diff/PW/src/run_pwscf.f90.preplumed +518 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.config +28 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/Modules/Makefile +249 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/Modules/Makefile.preplumed +244 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/forces.f90 +532 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/forces.f90.preplumed +535 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_ext_forces.f90 +74 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_ext_forces.f90.preplumed +23 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_initialization.f90 +64 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/plugin_initialization.f90.preplumed +21 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/run_pwscf.f90 +569 -0
- plumed/_lib/lib/plumed/patches/qespresso-7.2.diff/PW/src/run_pwscf.f90.preplumed +560 -0
- plumed/_lib/lib/plumed/plumed-config +9 -0
- plumed/_lib/lib/plumed/plumed-mklib +9 -0
- plumed/_lib/lib/plumed/plumed-newcv +9 -0
- plumed/_lib/lib/plumed/plumed-partial_tempering +9 -0
- plumed/_lib/lib/plumed/plumed-patch +9 -0
- plumed/_lib/lib/plumed/plumed-runtime +0 -0
- plumed/_lib/lib/plumed/plumed-selector +9 -0
- plumed/_lib/lib/plumed/plumed-vim2html +9 -0
- plumed/_lib/lib/plumed/scripts/config.sh +126 -0
- plumed/_lib/lib/plumed/scripts/mklib.sh +175 -0
- plumed/_lib/lib/plumed/scripts/newcv.sh +26 -0
- plumed/_lib/lib/plumed/scripts/partial_tempering.sh +319 -0
- plumed/_lib/lib/plumed/scripts/patch.sh +4 -0
- plumed/_lib/lib/plumed/scripts/selector.sh +234 -0
- plumed/_lib/lib/plumed/scripts/vim2html.sh +190 -0
- plumed/_lib/lib/plumed/src/colvar/Template.cpp +116 -0
- plumed/_lib/lib/plumed/src/config/compile_options.sh +3 -0
- plumed/_lib/lib/plumed/src/config/config.txt +179 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake +8 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake.runtime +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake.shared +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake.static +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc +8 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc.runtime +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc.shared +5 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc.static +5 -0
- plumed/_lib/lib/plumed/vim/scripts.vim +6 -0
- plumed/_plumed_core.cpython-311-aarch64-linux-musl.so +0 -0
- plumed/_plumed_core.cpython-312-aarch64-linux-musl.so +0 -0
- plumed/_plumed_core.cpython-313-aarch64-linux-musl.so +0 -0
- plumedCommunications.cpython-311-aarch64-linux-musl.so +0 -0
- plumedCommunications.cpython-312-aarch64-linux-musl.so +0 -0
- plumedCommunications.cpython-313-aarch64-linux-musl.so +0 -0
- plumedCommunications.pyi +431 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
"""Virtual atom definitions for creating points in space from atom groups.
|
|
2
|
+
|
|
3
|
+
Virtual atoms reduce groups of atoms to single points (or multiple points, one per group)
|
|
4
|
+
using strategies like center of mass (COM), center of geometry (COG), or first atom.
|
|
5
|
+
|
|
6
|
+
Resources
|
|
7
|
+
---------
|
|
8
|
+
- https://www.plumed.org/doc-master/user-doc/html/COM
|
|
9
|
+
- https://www.plumed.org/doc-master/user-doc/html/CENTER
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
import dataclasses
|
|
15
|
+
import typing as tp
|
|
16
|
+
|
|
17
|
+
import ase
|
|
18
|
+
|
|
19
|
+
from hillclimber.interfaces import AtomSelector
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@dataclasses.dataclass
|
|
23
|
+
class VirtualAtom:
|
|
24
|
+
"""Creates virtual atom(s) from atom groups.
|
|
25
|
+
|
|
26
|
+
Creates ONE virtual atom for EACH group returned by the selector.
|
|
27
|
+
To select specific groups, use selector indexing before creating the VirtualAtom.
|
|
28
|
+
|
|
29
|
+
Parameters
|
|
30
|
+
----------
|
|
31
|
+
atoms : AtomSelector | VirtualAtom
|
|
32
|
+
Source atoms or nested virtual atoms.
|
|
33
|
+
Use selector indexing to choose specific groups: VirtualAtom(selector[0], "com")
|
|
34
|
+
reduction : {"com", "cog", "first", "flatten"}, default="com"
|
|
35
|
+
How to reduce atoms to points:
|
|
36
|
+
|
|
37
|
+
- "com": Center of mass for each group (creates virtual site)
|
|
38
|
+
- "cog": Center of geometry for each group (creates virtual site)
|
|
39
|
+
- "first": First atom of each group (no virtual site needed)
|
|
40
|
+
- "flatten": Combine all groups into one, then apply reduction
|
|
41
|
+
label : str | None, default=None
|
|
42
|
+
Optional label for PLUMED virtual site commands.
|
|
43
|
+
|
|
44
|
+
Examples
|
|
45
|
+
--------
|
|
46
|
+
Create COM for each molecule:
|
|
47
|
+
|
|
48
|
+
>>> import hillclimber as hc
|
|
49
|
+
>>> # Two ethanols → two virtual atoms (COMs)
|
|
50
|
+
>>> selector = hc.SMARTSSelector("CCO")
|
|
51
|
+
>>> ethanols = hc.VirtualAtom(selector, reduction="com")
|
|
52
|
+
|
|
53
|
+
Select specific virtual atom using selector indexing:
|
|
54
|
+
|
|
55
|
+
>>> # Select first ethanol's COM
|
|
56
|
+
>>> ethanol_0 = hc.VirtualAtom(selector[0], "com")
|
|
57
|
+
|
|
58
|
+
Select multiple virtual atoms using selector slicing:
|
|
59
|
+
|
|
60
|
+
>>> # Select first two ethanols
|
|
61
|
+
>>> first_two = hc.VirtualAtom(selector[0:2], "com")
|
|
62
|
+
>>> # Select every other water
|
|
63
|
+
>>> water_sel = hc.SMARTSSelector("O")
|
|
64
|
+
>>> every_other = hc.VirtualAtom(water_sel[::2], "com")
|
|
65
|
+
|
|
66
|
+
Select specific virtual atoms using selector list indexing:
|
|
67
|
+
|
|
68
|
+
>>> # Select specific ethanols by indices
|
|
69
|
+
>>> selected = hc.VirtualAtom(selector[[0, 2, 4]], "com")
|
|
70
|
+
|
|
71
|
+
Flatten all groups into one virtual atom:
|
|
72
|
+
|
|
73
|
+
>>> # All water oxygens → one COM
|
|
74
|
+
>>> all_waters = hc.VirtualAtom(hc.SMARTSSelector("O"), reduction="flatten")
|
|
75
|
+
|
|
76
|
+
Nested virtual atoms (COM of COMs):
|
|
77
|
+
|
|
78
|
+
>>> # First: create COM for each water
|
|
79
|
+
>>> water_coms = hc.VirtualAtom(hc.SMARTSSelector("O"), reduction="com")
|
|
80
|
+
>>> # Then: create COM of all those COMs
|
|
81
|
+
>>> center = hc.VirtualAtom(water_coms, reduction="flatten")
|
|
82
|
+
|
|
83
|
+
Use in distance CVs:
|
|
84
|
+
|
|
85
|
+
>>> # Single distance (using selector indexing)
|
|
86
|
+
>>> ethanol_sel = hc.SMARTSSelector("CCO")
|
|
87
|
+
>>> water_sel = hc.SMARTSSelector("O")
|
|
88
|
+
>>> dist = hc.DistanceCV(
|
|
89
|
+
... x1=hc.VirtualAtom(ethanol_sel[0], "com"),
|
|
90
|
+
... x2=hc.VirtualAtom(water_sel[0], "com"),
|
|
91
|
+
... prefix="d"
|
|
92
|
+
... )
|
|
93
|
+
>>>
|
|
94
|
+
>>> # Multiple distances (first ethanol to all waters)
|
|
95
|
+
>>> dist = hc.DistanceCV(
|
|
96
|
+
... x1=hc.VirtualAtom(ethanol_sel[0], "com"),
|
|
97
|
+
... x2=hc.VirtualAtom(water_sel, "com"),
|
|
98
|
+
... prefix="d"
|
|
99
|
+
... )
|
|
100
|
+
>>>
|
|
101
|
+
>>> # Multiple distances (first two ethanols to first three waters)
|
|
102
|
+
>>> dist = hc.DistanceCV(
|
|
103
|
+
... x1=hc.VirtualAtom(ethanol_sel[0:2], "com"),
|
|
104
|
+
... x2=hc.VirtualAtom(water_sel[0:3], "com"),
|
|
105
|
+
... prefix="d"
|
|
106
|
+
... )
|
|
107
|
+
>>>
|
|
108
|
+
>>> # All pairwise distances
|
|
109
|
+
>>> dist = hc.DistanceCV(
|
|
110
|
+
... x1=hc.VirtualAtom(water_sel, "com"),
|
|
111
|
+
... x2=hc.VirtualAtom(water_sel, "com"),
|
|
112
|
+
... prefix="d"
|
|
113
|
+
... )
|
|
114
|
+
|
|
115
|
+
Resources
|
|
116
|
+
---------
|
|
117
|
+
- https://www.plumed.org/doc-master/user-doc/html/COM
|
|
118
|
+
- https://www.plumed.org/doc-master/user-doc/html/CENTER
|
|
119
|
+
"""
|
|
120
|
+
|
|
121
|
+
atoms: AtomSelector | "VirtualAtom"
|
|
122
|
+
reduction: tp.Literal["com", "cog", "first", "flatten"] = "com"
|
|
123
|
+
label: str | None = None
|
|
124
|
+
|
|
125
|
+
def __add__(self, other: "VirtualAtom") -> "VirtualAtom":
|
|
126
|
+
"""Combine two VirtualAtoms.
|
|
127
|
+
|
|
128
|
+
Returns a new VirtualAtom that represents both sets of virtual sites.
|
|
129
|
+
The underlying selectors are combined using the selector's __add__ method.
|
|
130
|
+
|
|
131
|
+
Parameters
|
|
132
|
+
----------
|
|
133
|
+
other : VirtualAtom
|
|
134
|
+
Another VirtualAtom to combine with this one.
|
|
135
|
+
|
|
136
|
+
Returns
|
|
137
|
+
-------
|
|
138
|
+
VirtualAtom
|
|
139
|
+
New VirtualAtom with combined underlying selectors.
|
|
140
|
+
|
|
141
|
+
Raises
|
|
142
|
+
------
|
|
143
|
+
ValueError
|
|
144
|
+
If the two VirtualAtoms have different reduction strategies.
|
|
145
|
+
|
|
146
|
+
Examples
|
|
147
|
+
--------
|
|
148
|
+
>>> water_coms = hc.VirtualAtom(water_sel, "com")
|
|
149
|
+
>>> ethanol_coms = hc.VirtualAtom(ethanol_sel, "com")
|
|
150
|
+
>>> all_coms = water_coms + ethanol_coms
|
|
151
|
+
>>>
|
|
152
|
+
>>> # Combine with indexed selectors
|
|
153
|
+
>>> first_water = hc.VirtualAtom(water_sel[0], "com")
|
|
154
|
+
>>> first_ethanol = hc.VirtualAtom(ethanol_sel[0], "com")
|
|
155
|
+
>>> combined = first_water + first_ethanol # 2 COMs
|
|
156
|
+
"""
|
|
157
|
+
# Reduction must be the same
|
|
158
|
+
if self.reduction != other.reduction:
|
|
159
|
+
raise ValueError(
|
|
160
|
+
f"Cannot combine VirtualAtoms with different reductions: "
|
|
161
|
+
f"{self.reduction} vs {other.reduction}"
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
# Combine the underlying selectors
|
|
165
|
+
combined_atoms = self.atoms + other.atoms
|
|
166
|
+
|
|
167
|
+
return VirtualAtom(
|
|
168
|
+
atoms=combined_atoms,
|
|
169
|
+
reduction=self.reduction,
|
|
170
|
+
label=None, # Reset label for combined VirtualAtom
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
def select(self, atoms: ase.Atoms) -> list[list[int]]:
|
|
174
|
+
"""Select atom groups for virtual atom creation.
|
|
175
|
+
|
|
176
|
+
Returns list of atom groups. Each group represents the atoms for
|
|
177
|
+
one virtual site.
|
|
178
|
+
|
|
179
|
+
Parameters
|
|
180
|
+
----------
|
|
181
|
+
atoms : ase.Atoms
|
|
182
|
+
The atomic structure to select from.
|
|
183
|
+
|
|
184
|
+
Returns
|
|
185
|
+
-------
|
|
186
|
+
list[list[int]]
|
|
187
|
+
Groups of atom indices. Each inner list is one group.
|
|
188
|
+
"""
|
|
189
|
+
# Get groups from source
|
|
190
|
+
if isinstance(self.atoms, VirtualAtom):
|
|
191
|
+
# Nested: inner VirtualAtom returns groups
|
|
192
|
+
groups = self.atoms.select(atoms)
|
|
193
|
+
else:
|
|
194
|
+
groups = self.atoms.select(atoms)
|
|
195
|
+
|
|
196
|
+
# Apply reduction strategy
|
|
197
|
+
if self.reduction == "flatten":
|
|
198
|
+
# Combine all groups into one
|
|
199
|
+
flat = [idx for group in groups for idx in group]
|
|
200
|
+
return [flat]
|
|
201
|
+
else:
|
|
202
|
+
# com, cog, first: keep groups separate
|
|
203
|
+
# Actual point creation happens in to_plumed()
|
|
204
|
+
return groups
|
|
205
|
+
|
|
206
|
+
def to_plumed(self, atoms: ase.Atoms) -> tuple[list[str], list[str]]:
|
|
207
|
+
"""Generate PLUMED virtual site commands.
|
|
208
|
+
|
|
209
|
+
Handles nested VirtualAtoms by first generating commands for the inner
|
|
210
|
+
VirtualAtom, then using those labels to create the outer virtual site.
|
|
211
|
+
|
|
212
|
+
Parameters
|
|
213
|
+
----------
|
|
214
|
+
atoms : ase.Atoms
|
|
215
|
+
The atomic structure to use for generating commands.
|
|
216
|
+
|
|
217
|
+
Returns
|
|
218
|
+
-------
|
|
219
|
+
labels : list[str]
|
|
220
|
+
Labels for the virtual sites/atoms created. These can be used
|
|
221
|
+
in subsequent PLUMED commands.
|
|
222
|
+
commands : list[str]
|
|
223
|
+
PLUMED command strings for creating virtual sites.
|
|
224
|
+
Empty if reduction="first" (no virtual sites needed).
|
|
225
|
+
|
|
226
|
+
Examples
|
|
227
|
+
--------
|
|
228
|
+
>>> va = hc.VirtualAtom(hc.SMARTSSelector("O"), reduction="com")
|
|
229
|
+
>>> labels, commands = va.to_plumed(atoms)
|
|
230
|
+
>>> print(labels)
|
|
231
|
+
['vsite_123_0', 'vsite_123_1']
|
|
232
|
+
>>> print(commands)
|
|
233
|
+
['vsite_123_0: COM ATOMS=1,2,3', 'vsite_123_1: COM ATOMS=4,5,6']
|
|
234
|
+
|
|
235
|
+
>>> # Nested VirtualAtom (COM of COMs)
|
|
236
|
+
>>> water_coms = hc.VirtualAtom(water_sel, "com")
|
|
237
|
+
>>> center = hc.VirtualAtom(water_coms, "com")
|
|
238
|
+
>>> labels, commands = center.to_plumed(atoms)
|
|
239
|
+
>>> # Commands will include both the individual COMs and the center COM
|
|
240
|
+
"""
|
|
241
|
+
# Check if this is a nested VirtualAtom
|
|
242
|
+
if isinstance(self.atoms, VirtualAtom):
|
|
243
|
+
# First, generate commands for the inner VirtualAtom
|
|
244
|
+
inner_labels, inner_commands = self.atoms.to_plumed(atoms)
|
|
245
|
+
|
|
246
|
+
# Now create virtual site using the inner labels
|
|
247
|
+
commands = list(inner_commands) # Copy inner commands
|
|
248
|
+
labels = []
|
|
249
|
+
|
|
250
|
+
if self.reduction == "first":
|
|
251
|
+
# Just use the first inner label
|
|
252
|
+
labels = [inner_labels[0]]
|
|
253
|
+
elif self.reduction == "flatten":
|
|
254
|
+
# Create COM/COG of all inner virtual sites
|
|
255
|
+
base_label = self.label or f"vsite_{id(self)}"
|
|
256
|
+
cmd_type = "COM" if self.reduction == "com" else "CENTER"
|
|
257
|
+
atom_list = ",".join(inner_labels)
|
|
258
|
+
commands.append(f"{base_label}: {cmd_type} ATOMS={atom_list}")
|
|
259
|
+
labels = [base_label]
|
|
260
|
+
elif self.reduction in ["com", "cog"]:
|
|
261
|
+
# For COM/COG with nested VirtualAtoms, we create a single
|
|
262
|
+
# virtual site from all inner labels (similar to flatten)
|
|
263
|
+
base_label = self.label or f"vsite_{id(self)}"
|
|
264
|
+
cmd_type = "COM" if self.reduction == "com" else "CENTER"
|
|
265
|
+
atom_list = ",".join(inner_labels)
|
|
266
|
+
commands.append(f"{base_label}: {cmd_type} ATOMS={atom_list}")
|
|
267
|
+
labels = [base_label]
|
|
268
|
+
else:
|
|
269
|
+
# This shouldn't typically happen, but handle it
|
|
270
|
+
# Just pass through the inner labels
|
|
271
|
+
labels = inner_labels
|
|
272
|
+
|
|
273
|
+
return labels, commands
|
|
274
|
+
|
|
275
|
+
# Non-nested case: regular selector
|
|
276
|
+
groups = self.select(atoms)
|
|
277
|
+
labels = []
|
|
278
|
+
commands = []
|
|
279
|
+
|
|
280
|
+
for i, group in enumerate(groups):
|
|
281
|
+
if self.reduction == "first" or (
|
|
282
|
+
self.reduction == "flatten" and len(group) == 1
|
|
283
|
+
):
|
|
284
|
+
# No virtual site needed, use atom index directly
|
|
285
|
+
labels.append(str(group[0] + 1))
|
|
286
|
+
else:
|
|
287
|
+
# Create virtual site (COM or CENTER)
|
|
288
|
+
base_label = self.label or f"vsite_{id(self)}"
|
|
289
|
+
label = base_label if len(groups) == 1 else f"{base_label}_{i}"
|
|
290
|
+
|
|
291
|
+
cmd_type = "COM" if self.reduction == "com" else "CENTER"
|
|
292
|
+
atom_list = ",".join(str(idx + 1) for idx in group)
|
|
293
|
+
commands.append(f"{label}: {cmd_type} ATOMS={atom_list}")
|
|
294
|
+
labels.append(label)
|
|
295
|
+
|
|
296
|
+
return labels, commands
|
|
297
|
+
|
|
298
|
+
def count(self, atoms: ase.Atoms) -> int:
|
|
299
|
+
"""Return number of virtual atoms this represents.
|
|
300
|
+
|
|
301
|
+
Parameters
|
|
302
|
+
----------
|
|
303
|
+
atoms : ase.Atoms
|
|
304
|
+
The atomic structure to count groups in.
|
|
305
|
+
|
|
306
|
+
Returns
|
|
307
|
+
-------
|
|
308
|
+
int
|
|
309
|
+
Number of virtual atoms (groups) this will create.
|
|
310
|
+
|
|
311
|
+
Examples
|
|
312
|
+
--------
|
|
313
|
+
>>> water_sel = hc.SMARTSSelector("O")
|
|
314
|
+
>>> va = hc.VirtualAtom(water_sel, reduction="com")
|
|
315
|
+
>>> va.count(atoms) # Number of water molecules
|
|
316
|
+
3
|
|
317
|
+
>>> # Use selector indexing to get single group
|
|
318
|
+
>>> va_single = hc.VirtualAtom(water_sel[0], reduction="com")
|
|
319
|
+
>>> va_single.count(atoms) # Single water - always 1
|
|
320
|
+
1
|
|
321
|
+
>>> va_flat = hc.VirtualAtom(water_sel, reduction="flatten")
|
|
322
|
+
>>> va_flat.count(atoms) # Flattened - always 1
|
|
323
|
+
1
|
|
324
|
+
>>> # Nested VirtualAtom
|
|
325
|
+
>>> water_coms = hc.VirtualAtom(water_sel, "com") # 3 COMs
|
|
326
|
+
>>> center = hc.VirtualAtom(water_coms, "com") # 1 COM of 3 COMs
|
|
327
|
+
>>> center.count(atoms)
|
|
328
|
+
1
|
|
329
|
+
"""
|
|
330
|
+
# For nested VirtualAtoms with com/cog/flatten reduction, we create a single virtual site
|
|
331
|
+
if isinstance(self.atoms, VirtualAtom) and self.reduction in [
|
|
332
|
+
"com",
|
|
333
|
+
"cog",
|
|
334
|
+
"flatten",
|
|
335
|
+
]:
|
|
336
|
+
return 1
|
|
337
|
+
# For nested VirtualAtoms with "first" reduction, pass through
|
|
338
|
+
elif isinstance(self.atoms, VirtualAtom) and self.reduction == "first":
|
|
339
|
+
return 1
|
|
340
|
+
# For non-nested or other cases, count the groups
|
|
341
|
+
return len(self.select(atoms))
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hillclimber
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: Python interfaces for the plumed library with enhanced sampling.
|
|
5
|
+
License: GNU LESSER GENERAL PUBLIC LICENSE
|
|
6
|
+
Version 3, 29 June 2007
|
|
7
|
+
|
|
8
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
9
|
+
Everyone is permitted to copy and distribute verbatim copies
|
|
10
|
+
of this license document, but changing it is not allowed.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
This version of the GNU Lesser General Public License incorporates
|
|
14
|
+
the terms and conditions of version 3 of the GNU General Public
|
|
15
|
+
License, supplemented by the additional permissions listed below.
|
|
16
|
+
|
|
17
|
+
0. Additional Definitions.
|
|
18
|
+
|
|
19
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
20
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
21
|
+
General Public License.
|
|
22
|
+
|
|
23
|
+
"The Library" refers to a covered work governed by this License,
|
|
24
|
+
other than an Application or a Combined Work as defined below.
|
|
25
|
+
|
|
26
|
+
An "Application" is any work that makes use of an interface provided
|
|
27
|
+
by the Library, but which is not otherwise based on the Library.
|
|
28
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
|
29
|
+
of using an interface provided by the Library.
|
|
30
|
+
|
|
31
|
+
A "Combined Work" is a work produced by combining or linking an
|
|
32
|
+
Application with the Library. The particular version of the Library
|
|
33
|
+
with which the Combined Work was made is also called the "Linked
|
|
34
|
+
Version".
|
|
35
|
+
|
|
36
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
|
37
|
+
Corresponding Source for the Combined Work, excluding any source code
|
|
38
|
+
for portions of the Combined Work that, considered in isolation, are
|
|
39
|
+
based on the Application, and not on the Linked Version.
|
|
40
|
+
|
|
41
|
+
The "Corresponding Application Code" for a Combined Work means the
|
|
42
|
+
object code and/or source code for the Application, including any data
|
|
43
|
+
and utility programs needed for reproducing the Combined Work from the
|
|
44
|
+
Application, but excluding the System Libraries of the Combined Work.
|
|
45
|
+
|
|
46
|
+
1. Exception to Section 3 of the GNU GPL.
|
|
47
|
+
|
|
48
|
+
You may convey a covered work under sections 3 and 4 of this License
|
|
49
|
+
without being bound by section 3 of the GNU GPL.
|
|
50
|
+
|
|
51
|
+
2. Conveying Modified Versions.
|
|
52
|
+
|
|
53
|
+
If you modify a copy of the Library, and, in your modifications, a
|
|
54
|
+
facility refers to a function or data to be supplied by an Application
|
|
55
|
+
that uses the facility (other than as an argument passed when the
|
|
56
|
+
facility is invoked), then you may convey a copy of the modified
|
|
57
|
+
version:
|
|
58
|
+
|
|
59
|
+
a) under this License, provided that you make a good faith effort to
|
|
60
|
+
ensure that, in the event an Application does not supply the
|
|
61
|
+
function or data, the facility still operates, and performs
|
|
62
|
+
whatever part of its purpose remains meaningful, or
|
|
63
|
+
|
|
64
|
+
b) under the GNU GPL, with none of the additional permissions of
|
|
65
|
+
this License applicable to that copy.
|
|
66
|
+
|
|
67
|
+
3. Object Code Incorporating Material from Library Header Files.
|
|
68
|
+
|
|
69
|
+
The object code form of an Application may incorporate material from
|
|
70
|
+
a header file that is part of the Library. You may convey such object
|
|
71
|
+
code under terms of your choice, provided that, if the incorporated
|
|
72
|
+
material is not limited to numerical parameters, data structure
|
|
73
|
+
layouts and accessors, or small macros, inline functions and templates
|
|
74
|
+
(ten or fewer lines in length), you do both of the following:
|
|
75
|
+
|
|
76
|
+
a) Give prominent notice with each copy of the object code that the
|
|
77
|
+
Library is used in it and that the Library and its use are
|
|
78
|
+
covered by this License.
|
|
79
|
+
|
|
80
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
81
|
+
document.
|
|
82
|
+
|
|
83
|
+
4. Combined Works.
|
|
84
|
+
|
|
85
|
+
You may convey a Combined Work under terms of your choice that,
|
|
86
|
+
taken together, effectively do not restrict modification of the
|
|
87
|
+
portions of the Library contained in the Combined Work and reverse
|
|
88
|
+
engineering for debugging such modifications, if you also do each of
|
|
89
|
+
the following:
|
|
90
|
+
|
|
91
|
+
a) Give prominent notice with each copy of the Combined Work that
|
|
92
|
+
the Library is used in it and that the Library and its use are
|
|
93
|
+
covered by this License.
|
|
94
|
+
|
|
95
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
96
|
+
document.
|
|
97
|
+
|
|
98
|
+
c) For a Combined Work that displays copyright notices during
|
|
99
|
+
execution, include the copyright notice for the Library among
|
|
100
|
+
these notices, as well as a reference directing the user to the
|
|
101
|
+
copies of the GNU GPL and this license document.
|
|
102
|
+
|
|
103
|
+
d) Do one of the following:
|
|
104
|
+
|
|
105
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
|
106
|
+
License, and the Corresponding Application Code in a form
|
|
107
|
+
suitable for, and under terms that permit, the user to
|
|
108
|
+
recombine or relink the Application with a modified version of
|
|
109
|
+
the Linked Version to produce a modified Combined Work, in the
|
|
110
|
+
manner specified by section 6 of the GNU GPL for conveying
|
|
111
|
+
Corresponding Source.
|
|
112
|
+
|
|
113
|
+
1) Use a suitable shared library mechanism for linking with the
|
|
114
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
|
115
|
+
a copy of the Library already present on the user's computer
|
|
116
|
+
system, and (b) will operate properly with a modified version
|
|
117
|
+
of the Library that is interface-compatible with the Linked
|
|
118
|
+
Version.
|
|
119
|
+
|
|
120
|
+
e) Provide Installation Information, but only if you would otherwise
|
|
121
|
+
be required to provide such information under section 6 of the
|
|
122
|
+
GNU GPL, and only to the extent that such information is
|
|
123
|
+
necessary to install and execute a modified version of the
|
|
124
|
+
Combined Work produced by recombining or relinking the
|
|
125
|
+
Application with a modified version of the Linked Version. (If
|
|
126
|
+
you use option 4d0, the Installation Information must accompany
|
|
127
|
+
the Minimal Corresponding Source and Corresponding Application
|
|
128
|
+
Code. If you use option 4d1, you must provide the Installation
|
|
129
|
+
Information in the manner specified by section 6 of the GNU GPL
|
|
130
|
+
for conveying Corresponding Source.)
|
|
131
|
+
|
|
132
|
+
5. Combined Libraries.
|
|
133
|
+
|
|
134
|
+
You may place library facilities that are a work based on the
|
|
135
|
+
Library side by side in a single library together with other library
|
|
136
|
+
facilities that are not Applications and are not covered by this
|
|
137
|
+
License, and convey such a combined library under terms of your
|
|
138
|
+
choice, if you do both of the following:
|
|
139
|
+
|
|
140
|
+
a) Accompany the combined library with a copy of the same work based
|
|
141
|
+
on the Library, uncombined with any other library facilities,
|
|
142
|
+
conveyed under the terms of this License.
|
|
143
|
+
|
|
144
|
+
b) Give prominent notice with the combined library that part of it
|
|
145
|
+
is a work based on the Library, and explaining where to find the
|
|
146
|
+
accompanying uncombined form of the same work.
|
|
147
|
+
|
|
148
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
|
149
|
+
|
|
150
|
+
The Free Software Foundation may publish revised and/or new versions
|
|
151
|
+
of the GNU Lesser General Public License from time to time. Such new
|
|
152
|
+
versions will be similar in spirit to the present version, but may
|
|
153
|
+
differ in detail to address new problems or concerns.
|
|
154
|
+
|
|
155
|
+
Each version is given a distinguishing version number. If the
|
|
156
|
+
Library as you received it specifies that a certain numbered version
|
|
157
|
+
of the GNU Lesser General Public License "or any later version"
|
|
158
|
+
applies to it, you have the option of following the terms and
|
|
159
|
+
conditions either of that published version or of any later version
|
|
160
|
+
published by the Free Software Foundation. If the Library as you
|
|
161
|
+
received it does not specify a version number of the GNU Lesser
|
|
162
|
+
General Public License, you may choose any version of the GNU Lesser
|
|
163
|
+
General Public License ever published by the Free Software Foundation.
|
|
164
|
+
|
|
165
|
+
If the Library as you received it specifies that a proxy can decide
|
|
166
|
+
whether future versions of the GNU Lesser General Public License shall
|
|
167
|
+
apply, that proxy's public statement of acceptance of any version is
|
|
168
|
+
permanent authorization for you to choose that version for the
|
|
169
|
+
Library.
|
|
170
|
+
License-File: LICENSE
|
|
171
|
+
Requires-Python: >=3.11
|
|
172
|
+
Requires-Dist: ase>=3.25.0
|
|
173
|
+
Requires-Dist: metadynminer>=0.9.1
|
|
174
|
+
Requires-Dist: molify>=0.2.0
|
|
175
|
+
Requires-Dist: rdkit2ase>=0.1.13
|
|
176
|
+
Requires-Dist: seaborn>=0.13.2
|
|
177
|
+
Requires-Dist: zntrack>=0.8.9
|
|
178
|
+
Description-Content-Type: text/markdown
|
|
179
|
+
|
|
180
|
+
[](https://deepwiki.com/zincware/hillclimber)
|
|
181
|
+
|
|
182
|
+
# hillclimber
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
**hillclimber** is a Python framework for enhanced sampling with PLUMED. It provides high-level, Pythonic interfaces for configuring metadynamics simulations, making it easy to explore rare events and climb energy barriers in molecular dynamics simulations.
|
|
186
|
+
|
|
187
|
+
## Installation
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
uv add hillclimber
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Or with pip:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
pip install hillclimber
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
## Units
|
|
200
|
+
|
|
201
|
+
hillclimber uses **ASE units** throughout the package:
|
|
202
|
+
|
|
203
|
+
- **Distances**: Ångström / Å
|
|
204
|
+
- **Energies**: electronvolt / eV
|
|
205
|
+
- **Time**: femtoseconds / fs
|
|
206
|
+
- **Temperature**: Kelvin / K
|
|
207
|
+
|
|
208
|
+
## Documentation
|
|
209
|
+
|
|
210
|
+
Currently, there is no documentation available. Please refer to `/examples` for usage examples.
|