hillclimber 0.1.6__cp313-cp313-macosx_15_0_x86_64.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 +41 -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 +416 -0
- hillclimber/nodes.py +6 -0
- hillclimber/opes.py +359 -0
- hillclimber/pycv.py +362 -0
- hillclimber/selectors.py +230 -0
- hillclimber/virtual_atoms.py +341 -0
- hillclimber-0.1.6.dist-info/METADATA +325 -0
- hillclimber-0.1.6.dist-info/RECORD +468 -0
- hillclimber-0.1.6.dist-info/WHEEL +6 -0
- hillclimber-0.1.6.dist-info/entry_points.txt +8 -0
- hillclimber-0.1.6.dist-info/licenses/LICENSE +165 -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.dylib +0 -0
- plumed/_lib/lib/libplumed.dylib +0 -0
- plumed/_lib/lib/libplumedKernel.dylib +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 +181 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.cmake +6 -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 +3 -0
- plumed/_lib/lib/plumed/src/lib/Plumed.inc +6 -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 +3 -0
- plumed/_lib/lib/plumed/vim/scripts.vim +6 -0
- plumed/_plumed_core.cpython-311-darwin.so +0 -0
- plumed/_plumed_core.cpython-312-darwin.so +0 -0
- plumed/_plumed_core.cpython-313-darwin.so +0 -0
- plumedCommunications.cpython-311-darwin.so +0 -0
- plumedCommunications.cpython-312-darwin.so +0 -0
- plumedCommunications.cpython-313-darwin.so +0 -0
- plumedCommunications.pyi +431 -0
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
2
|
+
Copyright (c) 2011-2023 The plumed team
|
|
3
|
+
(see the PEOPLE file at the root of the distribution for a list of names)
|
|
4
|
+
|
|
5
|
+
See http://www.plumed.org for more information.
|
|
6
|
+
|
|
7
|
+
This file is part of plumed, version 2.
|
|
8
|
+
|
|
9
|
+
plumed is free software: you can redistribute it and/or modify
|
|
10
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
11
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
(at your option) any later version.
|
|
13
|
+
|
|
14
|
+
plumed is distributed in the hope that it will be useful,
|
|
15
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
GNU Lesser General Public License for more details.
|
|
18
|
+
|
|
19
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
20
|
+
along with plumed. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
|
|
22
|
+
#ifndef __PLUMED_core_Action_h
|
|
23
|
+
#define __PLUMED_core_Action_h
|
|
24
|
+
#include <iomanip>
|
|
25
|
+
#include <vector>
|
|
26
|
+
#include <string>
|
|
27
|
+
#include <set>
|
|
28
|
+
#include "../tools/Keywords.h"
|
|
29
|
+
#include "../tools/Tools.h"
|
|
30
|
+
#include "../tools/Units.h"
|
|
31
|
+
#include "../tools/Log.h"
|
|
32
|
+
#include "../tools/TokenizedLine.h"
|
|
33
|
+
|
|
34
|
+
namespace PLMD {
|
|
35
|
+
|
|
36
|
+
class PDB;
|
|
37
|
+
class PlumedMain;
|
|
38
|
+
class Communicator;
|
|
39
|
+
class ActionWithValue;
|
|
40
|
+
class ActionWithArguments;
|
|
41
|
+
class ActionAtomistic;
|
|
42
|
+
class ActionWithVirtualAtom;
|
|
43
|
+
class PbcAction;
|
|
44
|
+
class ActionToGetData;
|
|
45
|
+
class ActionToPutData;
|
|
46
|
+
class DomainDecomposition;
|
|
47
|
+
class ActionForInterface;
|
|
48
|
+
class ActionShortcut;
|
|
49
|
+
|
|
50
|
+
/// This class is used to bring the relevant information to the Action constructor.
|
|
51
|
+
/// Only Action and ActionRegister class can access to its content, which is
|
|
52
|
+
/// kept private to other classes, and may change in the future.
|
|
53
|
+
class ActionOptions {
|
|
54
|
+
friend class Action;
|
|
55
|
+
friend class ActionRegister;
|
|
56
|
+
/// Reference to main PlumedMain object
|
|
57
|
+
PlumedMain& plumed;
|
|
58
|
+
/// Input line which sets up the action
|
|
59
|
+
std::vector<std::string> line;
|
|
60
|
+
/// The documentation for this action
|
|
61
|
+
const Keywords& keys;
|
|
62
|
+
static Keywords emptyKeys;
|
|
63
|
+
std::string fullPath;
|
|
64
|
+
public:
|
|
65
|
+
/// Constructor
|
|
66
|
+
ActionOptions(PlumedMain&p,const std::vector<std::string>&);
|
|
67
|
+
ActionOptions(const ActionOptions&,const Keywords& keys);
|
|
68
|
+
void setFullPath(const std::string & newFullPath) {
|
|
69
|
+
fullPath=newFullPath;
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/// Base class for all the input Actions.
|
|
74
|
+
/// The input Actions are more or less corresponding to the directives
|
|
75
|
+
/// in the plumed.dat file and are applied in order at each time-step.
|
|
76
|
+
class Action {
|
|
77
|
+
friend class ActionShortcut;
|
|
78
|
+
using KeyMap = TokenizedLine;
|
|
79
|
+
/// Name of the directive in the plumed.dat file.
|
|
80
|
+
const std::string actionName;
|
|
81
|
+
|
|
82
|
+
/// Label of the Action, as set with LABEL= in the plumed.dat file.
|
|
83
|
+
std::string actionLabel;
|
|
84
|
+
|
|
85
|
+
/// Directive line.
|
|
86
|
+
/// This line is progressively erased during Action construction
|
|
87
|
+
/// so as to check if all the present keywords are correct.
|
|
88
|
+
KeyMap linemap;
|
|
89
|
+
/// Update only after this time.
|
|
90
|
+
double update_from;
|
|
91
|
+
|
|
92
|
+
/// Update only until this time.
|
|
93
|
+
double update_until;
|
|
94
|
+
|
|
95
|
+
/// Save the timestep here
|
|
96
|
+
double timestep;
|
|
97
|
+
|
|
98
|
+
protected:
|
|
99
|
+
/// Get the units that we are operating in
|
|
100
|
+
const Units& getUnits() const;
|
|
101
|
+
/// Are we using natural units
|
|
102
|
+
bool usingNaturalUnits()const;
|
|
103
|
+
/// Get the value of Boltzmann's constant
|
|
104
|
+
double getKBoltzmann()const;
|
|
105
|
+
public:
|
|
106
|
+
|
|
107
|
+
/// Check if action should be updated.
|
|
108
|
+
bool checkUpdate()const;
|
|
109
|
+
|
|
110
|
+
public:
|
|
111
|
+
typedef std::vector<Action*> Dependencies;
|
|
112
|
+
|
|
113
|
+
private:
|
|
114
|
+
/// Actions on which this Action depends.
|
|
115
|
+
Dependencies after;
|
|
116
|
+
|
|
117
|
+
/// Switch to activate Action on this step.
|
|
118
|
+
bool active;
|
|
119
|
+
|
|
120
|
+
/// Option that you might have enabled
|
|
121
|
+
std::set<std::string> actionOptions;
|
|
122
|
+
|
|
123
|
+
bool restart;
|
|
124
|
+
|
|
125
|
+
bool doCheckPoint;
|
|
126
|
+
|
|
127
|
+
bool never_activate;
|
|
128
|
+
|
|
129
|
+
/// The set of default arguments that we are using
|
|
130
|
+
std::string defaults;
|
|
131
|
+
public:
|
|
132
|
+
|
|
133
|
+
/// Reference to main plumed object
|
|
134
|
+
PlumedMain& plumed;
|
|
135
|
+
|
|
136
|
+
/// Reference to the log stream
|
|
137
|
+
Log& log;
|
|
138
|
+
|
|
139
|
+
/// Specify that this Action depends on another one
|
|
140
|
+
void addDependency(Action*);
|
|
141
|
+
|
|
142
|
+
/// Check that this action does not depend on the action in the argument
|
|
143
|
+
bool checkForDependency(Action*);
|
|
144
|
+
|
|
145
|
+
/// Clear the dependence list for this Action
|
|
146
|
+
void clearDependencies();
|
|
147
|
+
|
|
148
|
+
/// Get the value of kBT by either reading the TEMP keyword
|
|
149
|
+
/// and multiplying the temperature by Boltzmann's constant
|
|
150
|
+
/// or get it fro the MD code
|
|
151
|
+
double getkBT();
|
|
152
|
+
|
|
153
|
+
/// Return the present timestep
|
|
154
|
+
long long int getStep()const;
|
|
155
|
+
|
|
156
|
+
/// Return the present time
|
|
157
|
+
double getTime()const;
|
|
158
|
+
|
|
159
|
+
/// Return the timestep
|
|
160
|
+
double getTimeStep()const;
|
|
161
|
+
|
|
162
|
+
/// Return true if we are doing a restart
|
|
163
|
+
bool getRestart()const;
|
|
164
|
+
|
|
165
|
+
/// Return true if we are doing at a checkpoint step
|
|
166
|
+
bool getCPT()const;
|
|
167
|
+
|
|
168
|
+
/// Just read one of the keywords and return the whole thing as a string
|
|
169
|
+
std::string getKeyword(const std::string& key);
|
|
170
|
+
|
|
171
|
+
/// Parse one keyword as generic type
|
|
172
|
+
template<class T>
|
|
173
|
+
void parse(const std::string&key,T&t);
|
|
174
|
+
|
|
175
|
+
/// Parse one numbered keyword as generic type
|
|
176
|
+
template<class T>
|
|
177
|
+
bool parseNumbered(const std::string&key, const int no, T&t);
|
|
178
|
+
|
|
179
|
+
/// Parse one keyword as std::vector
|
|
180
|
+
template<class T>
|
|
181
|
+
void parseVector(const std::string&key,std::vector<T>&t);
|
|
182
|
+
|
|
183
|
+
/// Parse a vector with a number
|
|
184
|
+
template<class T>
|
|
185
|
+
bool parseNumberedVector(const std::string& key, const int no, std::vector<T>&t);
|
|
186
|
+
|
|
187
|
+
/// Parse one keyword as boolean flag
|
|
188
|
+
void parseFlag(const std::string&key,bool&t);
|
|
189
|
+
|
|
190
|
+
/// Crash calculation and print documentation
|
|
191
|
+
[[noreturn]] void error( const std::string & msg ) const;
|
|
192
|
+
|
|
193
|
+
/// Issue a warning
|
|
194
|
+
void warning( const std::string & msg );
|
|
195
|
+
|
|
196
|
+
/// Exit with error code c
|
|
197
|
+
void exit(int c=0);
|
|
198
|
+
|
|
199
|
+
///
|
|
200
|
+
std::set<FILE*> files;
|
|
201
|
+
|
|
202
|
+
public:
|
|
203
|
+
/// Standard constructor from ActionOptions
|
|
204
|
+
explicit Action(const ActionOptions&);
|
|
205
|
+
/// Destructor
|
|
206
|
+
virtual ~Action();
|
|
207
|
+
private:
|
|
208
|
+
/// Copy constructor is deleted
|
|
209
|
+
Action(const Action&a) = delete;
|
|
210
|
+
/// Assignment operator is deleted
|
|
211
|
+
Action& operator=(const Action&a) = delete;
|
|
212
|
+
int replica_index;
|
|
213
|
+
public:
|
|
214
|
+
/// Check if Action was properly read.
|
|
215
|
+
/// This checks if Action::line is empty. It must be called after
|
|
216
|
+
/// a final Action has been initialized
|
|
217
|
+
void checkRead();
|
|
218
|
+
|
|
219
|
+
/// This calculates any values that are constant and ensures
|
|
220
|
+
/// that we don't calculate these actions on every timestep
|
|
221
|
+
void setupConstantValues( const bool& have_atoms );
|
|
222
|
+
|
|
223
|
+
Communicator& comm;
|
|
224
|
+
Communicator& multi_sim_comm;
|
|
225
|
+
|
|
226
|
+
const Keywords& keywords;
|
|
227
|
+
/// Prepare an Action for calculation
|
|
228
|
+
/// This can be used by Action if they need some special preparation
|
|
229
|
+
/// before calculation. Typical case is for collective variables
|
|
230
|
+
/// which would like to change their list of requested atoms.
|
|
231
|
+
/// By default (if not overridden) does nothing.
|
|
232
|
+
virtual void prepare();
|
|
233
|
+
|
|
234
|
+
/// Register all the relevant keywords for the action
|
|
235
|
+
static void registerKeywords( Keywords& keys );
|
|
236
|
+
|
|
237
|
+
virtual void lockRequests() {}
|
|
238
|
+
virtual void unlockRequests() {}
|
|
239
|
+
|
|
240
|
+
/// Calculate an Action.
|
|
241
|
+
/// This method is called one or more times per step.
|
|
242
|
+
/// The set of all Actions is calculated in forward order.
|
|
243
|
+
virtual void calculate()=0;
|
|
244
|
+
|
|
245
|
+
/// Apply an Action.
|
|
246
|
+
/// This method is called one time per step.
|
|
247
|
+
/// The set of all Actions is applied in backward order.
|
|
248
|
+
virtual void apply()=0;
|
|
249
|
+
|
|
250
|
+
/// Before Update.
|
|
251
|
+
/// This is a special method that is called just
|
|
252
|
+
/// before the update() method. It can be used by
|
|
253
|
+
/// actions that want to do something irrespectively
|
|
254
|
+
/// of the fact that update() is active or not.
|
|
255
|
+
/// In other words, this is *always* called, even when action
|
|
256
|
+
/// is not active.
|
|
257
|
+
virtual void beforeUpdate() {}
|
|
258
|
+
|
|
259
|
+
/// Update.
|
|
260
|
+
/// This method is called one time per step.
|
|
261
|
+
/// The set of all Actions is updated in forward order.
|
|
262
|
+
virtual void update() {}
|
|
263
|
+
|
|
264
|
+
/// RunFinalJobs
|
|
265
|
+
/// This method is called once at the very end of the calculation.
|
|
266
|
+
/// The set of all Actions in run for the final time in forward order.
|
|
267
|
+
virtual void runFinalJobs() {}
|
|
268
|
+
|
|
269
|
+
/// Tell to the Action to flush open files
|
|
270
|
+
void fflush();
|
|
271
|
+
|
|
272
|
+
/// Returns the label
|
|
273
|
+
const std::string & getLabel()const;
|
|
274
|
+
|
|
275
|
+
/// Returns the name
|
|
276
|
+
const std::string & getName()const;
|
|
277
|
+
|
|
278
|
+
/// Set action to active
|
|
279
|
+
virtual void activate();
|
|
280
|
+
|
|
281
|
+
///
|
|
282
|
+
virtual void setOption(const std::string &s);
|
|
283
|
+
|
|
284
|
+
virtual void clearOptions();
|
|
285
|
+
|
|
286
|
+
/// Set action to inactive
|
|
287
|
+
virtual void deactivate();
|
|
288
|
+
|
|
289
|
+
/// Check if action is active
|
|
290
|
+
bool isActive()const;
|
|
291
|
+
|
|
292
|
+
/// Check if an option is on
|
|
293
|
+
bool isOptionOn(const std::string &s)const;
|
|
294
|
+
|
|
295
|
+
/// Return dependencies
|
|
296
|
+
const Dependencies & getDependencies()const {
|
|
297
|
+
return after;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/// Check if numerical derivatives should be performed
|
|
301
|
+
virtual bool checkNumericalDerivatives()const {
|
|
302
|
+
return false;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/// Check if the action needs gradient
|
|
306
|
+
virtual bool checkNeedsGradients()const {
|
|
307
|
+
return false;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/// Perform calculation using numerical derivatives
|
|
311
|
+
/// N.B. only pass an ActionWithValue to this routine if you know exactly what you
|
|
312
|
+
/// are doing.
|
|
313
|
+
virtual void calculateNumericalDerivatives( ActionWithValue* a=NULL );
|
|
314
|
+
|
|
315
|
+
/// Opens a file.
|
|
316
|
+
/// This is similar to plain fopen, but with some extra functionality.
|
|
317
|
+
/// * When opened for writing, processors other than the one with rank 0 just open /dev/null
|
|
318
|
+
/// * PlumedMain::fopen is used, so that other tricks may appear (see \ref PlumedMain::fopen)
|
|
319
|
+
FILE *fopen(const char *path, const char *mode);
|
|
320
|
+
/// Closes a file opened with Action::fclose().
|
|
321
|
+
int fclose(FILE*fp);
|
|
322
|
+
|
|
323
|
+
/// Calculate the action given a pdb file as input. This is used to initialize
|
|
324
|
+
/// things like distance from a point in CV map space given a pdb as an input file
|
|
325
|
+
void calculateFromPDB( const PDB& );
|
|
326
|
+
/// This is overwritten in ActionAtomistic so that we can read
|
|
327
|
+
/// the atoms from the pdb input file rather than taking them from the
|
|
328
|
+
/// MD code
|
|
329
|
+
virtual void readAtomsFromPDB( const PDB& ) {}
|
|
330
|
+
/// Check if we are on an exchange step
|
|
331
|
+
bool getExchangeStep()const;
|
|
332
|
+
|
|
333
|
+
/// Cite a paper see PlumedMain::cite
|
|
334
|
+
std::string cite(const std::string&s);
|
|
335
|
+
|
|
336
|
+
/// Get the defaults
|
|
337
|
+
std::string getDefaultString() const ;
|
|
338
|
+
|
|
339
|
+
/// Set the timestep that is stored in the action to the correct value
|
|
340
|
+
void resetStoredTimestep();
|
|
341
|
+
|
|
342
|
+
/// Get the info on what to calculate
|
|
343
|
+
virtual std::string writeInGraph() const ;
|
|
344
|
+
/// Specialized casts, to make PlumedMain run faster
|
|
345
|
+
virtual ActionWithValue* castToActionWithValue() noexcept {
|
|
346
|
+
return nullptr;
|
|
347
|
+
}
|
|
348
|
+
virtual ActionWithArguments* castToActionWithArguments() noexcept {
|
|
349
|
+
return nullptr;
|
|
350
|
+
}
|
|
351
|
+
virtual ActionAtomistic* castToActionAtomistic() noexcept {
|
|
352
|
+
return nullptr;
|
|
353
|
+
}
|
|
354
|
+
virtual ActionWithVirtualAtom* castToActionWithVirtualAtom() noexcept {
|
|
355
|
+
return nullptr;
|
|
356
|
+
}
|
|
357
|
+
virtual PbcAction* castToPbcAction() noexcept {
|
|
358
|
+
return nullptr;
|
|
359
|
+
}
|
|
360
|
+
virtual ActionToPutData* castToActionToPutData() noexcept {
|
|
361
|
+
return nullptr;
|
|
362
|
+
}
|
|
363
|
+
virtual ActionToGetData* castToActionToGetData() noexcept {
|
|
364
|
+
return nullptr;
|
|
365
|
+
}
|
|
366
|
+
virtual DomainDecomposition* castToDomainDecomposition() noexcept {
|
|
367
|
+
return nullptr;
|
|
368
|
+
}
|
|
369
|
+
virtual ActionForInterface* castToActionForInterface() noexcept {
|
|
370
|
+
return nullptr;
|
|
371
|
+
}
|
|
372
|
+
virtual ActionShortcut* castToActionShortcut() noexcept {
|
|
373
|
+
return nullptr;
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
/////////////////////
|
|
378
|
+
// FAST INLINE METHODS
|
|
379
|
+
|
|
380
|
+
inline
|
|
381
|
+
const std::string & Action::getLabel()const {
|
|
382
|
+
return actionLabel;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
inline
|
|
386
|
+
const std::string & Action::getName()const {
|
|
387
|
+
return actionName;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
template<class T>
|
|
391
|
+
void Action::parse(const std::string&key,T&t) {
|
|
392
|
+
// Check keyword has been registered
|
|
393
|
+
plumed_massert(keywords.exists(key),"keyword " + key + " has not been registered");
|
|
394
|
+
|
|
395
|
+
// Now try to read the keyword
|
|
396
|
+
auto [present, found] = linemap.readAndRemove(key,t,replica_index);
|
|
397
|
+
|
|
398
|
+
if(present && !found) {
|
|
399
|
+
error("keyword " + key +" could not be read correctly");
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// If it isn't read and it is compulsory see if a default value was specified
|
|
403
|
+
if ( !found && (keywords.style(key,"compulsory") || keywords.style(key,"hidden")) ) {
|
|
404
|
+
std::string def;
|
|
405
|
+
if( keywords.getDefaultValue(key,def) ) {
|
|
406
|
+
if( def.length()==0 || !Tools::convertNoexcept(def,t) ) {
|
|
407
|
+
plumed_error() <<"ERROR in action "<<actionName<<" with label "<<actionLabel<<" : keyword "<<key<<" has weird default value";
|
|
408
|
+
}
|
|
409
|
+
defaults += " " + key + "=" + def;
|
|
410
|
+
} else if( keywords.style(key,"compulsory") ) {
|
|
411
|
+
error("keyword " + key + " is compulsory for this action");
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
template<class T>
|
|
417
|
+
bool Action::parseNumbered(const std::string&key, const int no, T&t) {
|
|
418
|
+
// Check keyword has been registered
|
|
419
|
+
plumed_massert(keywords.exists(key),"keyword " + key + " has not been registered");
|
|
420
|
+
if( !keywords.numbered(key) ) {
|
|
421
|
+
error("numbered keywords are not allowed for " + key );
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// Now try to read the keyword
|
|
425
|
+
std::string num;
|
|
426
|
+
Tools::convert(no,num);
|
|
427
|
+
auto [present, found] = linemap.readAndRemove(key+num,t,replica_index);
|
|
428
|
+
return found;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
template<class T>
|
|
432
|
+
void Action::parseVector(const std::string&key,std::vector<T>&t) {
|
|
433
|
+
// Check keyword has been registered
|
|
434
|
+
plumed_massert(keywords.exists(key), "keyword " + key + " has not been registered");
|
|
435
|
+
unsigned size=t.size();
|
|
436
|
+
bool skipcheck=false;
|
|
437
|
+
if(size==0) {
|
|
438
|
+
skipcheck=true;
|
|
439
|
+
}
|
|
440
|
+
// Now try to read the keyword
|
|
441
|
+
auto [present, found] = linemap.readAndRemoveVector(key,t,replica_index);
|
|
442
|
+
if(present && !found) {
|
|
443
|
+
error("keyword " + key +" could not be read correctly");
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
// Check vectors size is correct (not if this is atoms or ARG)
|
|
447
|
+
if( !keywords.style(key,"atoms") && found ) {
|
|
448
|
+
// bool skipcheck=false;
|
|
449
|
+
// if( keywords.style(key,"compulsory") ){ keywords.getDefaultValue(key,def); skipcheck=(def=="nosize"); }
|
|
450
|
+
if( !skipcheck && t.size()!=size ) {
|
|
451
|
+
error("vector read in for keyword " + key + " has the wrong size");
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
// If it isn't read and it is compulsory see if a default value was specified
|
|
456
|
+
if ( !found && (keywords.style(key,"compulsory") || keywords.style(key,"hidden")) ) {
|
|
457
|
+
T val;
|
|
458
|
+
std::string def;
|
|
459
|
+
if( keywords.getDefaultValue(key,def) ) {
|
|
460
|
+
if( def.length()==0 || !Tools::convertNoexcept(def,val) ) {
|
|
461
|
+
plumed_error() <<"ERROR in action "<<actionName<<" with label "<<actionLabel<<" : keyword "<<key<<" has weird default value";
|
|
462
|
+
} else {
|
|
463
|
+
if(t.size()>0) {
|
|
464
|
+
for(unsigned i=0; i<t.size(); ++i) {
|
|
465
|
+
t[i]=val;
|
|
466
|
+
}
|
|
467
|
+
defaults += " " + key + "=" + def;
|
|
468
|
+
for(unsigned i=1; i<t.size(); ++i) {
|
|
469
|
+
defaults += "," + def;
|
|
470
|
+
}
|
|
471
|
+
} else {
|
|
472
|
+
t.push_back(val);
|
|
473
|
+
defaults += " " + key + "=" + def;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
} else if( keywords.style(key,"compulsory") ) {
|
|
477
|
+
error("keyword " + key + " is compulsory for this action");
|
|
478
|
+
}
|
|
479
|
+
} else if ( !found ) {
|
|
480
|
+
t.resize(0);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
template<class T>
|
|
485
|
+
bool Action::parseNumberedVector(const std::string&key,
|
|
486
|
+
const int no,
|
|
487
|
+
std::vector<T>&t) {
|
|
488
|
+
plumed_massert(keywords.exists(key),"keyword " + key + " has not been registered");
|
|
489
|
+
if( !keywords.numbered(key) ) {
|
|
490
|
+
error("numbered keywords are not allowed for " + key );
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
unsigned size=t.size();
|
|
494
|
+
bool skipcheck=size==0;
|
|
495
|
+
std::string num;
|
|
496
|
+
Tools::convert(no,num);
|
|
497
|
+
auto [present, found] = linemap.readAndRemoveVector(key+num,t,replica_index);
|
|
498
|
+
if(present && !found) {
|
|
499
|
+
error("keyword " + key +" could not be read correctly");
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
if( keywords.style(key,"compulsory") ) {
|
|
503
|
+
if (!skipcheck && found && t.size()!=size ) {
|
|
504
|
+
error("vector read in for keyword " + key + num + " has the wrong size");
|
|
505
|
+
}
|
|
506
|
+
} else if ( !found ) {
|
|
507
|
+
t.resize(0);
|
|
508
|
+
}
|
|
509
|
+
return found;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
inline
|
|
513
|
+
void Action::deactivate() {
|
|
514
|
+
actionOptions.clear();
|
|
515
|
+
active=false;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
inline
|
|
519
|
+
bool Action::isActive()const {
|
|
520
|
+
return active;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
inline
|
|
524
|
+
bool Action::isOptionOn(const std::string &s)const {
|
|
525
|
+
return actionOptions.count(s);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
inline
|
|
529
|
+
bool Action::getRestart()const {
|
|
530
|
+
return restart;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
inline
|
|
534
|
+
std::string Action::getDefaultString() const {
|
|
535
|
+
return defaults;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
}
|
|
539
|
+
#endif
|
|
540
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
2
|
+
Copyright (c) 2011-2023 The plumed team
|
|
3
|
+
(see the PEOPLE file at the root of the distribution for a list of names)
|
|
4
|
+
|
|
5
|
+
See http://www.plumed.org for more information.
|
|
6
|
+
|
|
7
|
+
This file is part of plumed, version 2.
|
|
8
|
+
|
|
9
|
+
plumed is free software: you can redistribute it and/or modify
|
|
10
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
11
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
(at your option) any later version.
|
|
13
|
+
|
|
14
|
+
plumed is distributed in the hope that it will be useful,
|
|
15
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
GNU Lesser General Public License for more details.
|
|
18
|
+
|
|
19
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
20
|
+
along with plumed. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
|
|
22
|
+
#ifndef __PLUMED_core_ActionAnyorder_h
|
|
23
|
+
#define __PLUMED_core_ActionAnyorder_h
|
|
24
|
+
|
|
25
|
+
#include "Action.h"
|
|
26
|
+
|
|
27
|
+
namespace PLMD {
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
\ingroup MULTIINHERIT
|
|
31
|
+
Action used to create a PLMD::Action that can go both before and after ActionSetup actions.
|
|
32
|
+
*/
|
|
33
|
+
class ActionAnyorder :
|
|
34
|
+
public virtual Action {
|
|
35
|
+
public:
|
|
36
|
+
/// Constructor
|
|
37
|
+
explicit ActionAnyorder(const ActionOptions&ao);
|
|
38
|
+
/// Creator of keywords
|
|
39
|
+
static void registerKeywords( Keywords& keys );
|
|
40
|
+
/// Do nothing.
|
|
41
|
+
void calculate() override {}
|
|
42
|
+
/// Do nothing.
|
|
43
|
+
void apply() override {}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#endif
|