Gromacs
2026.0-dev-20241213-9ac17bb
|
#include <gromacs/applied_forces/plumed/plumedforceprovider.h>
Implements IForceProvider for PLUMED.
Public Member Functions | |
PlumedForceProvider (const PlumedOptions &options) | |
Initialize the PLUMED interface with the given options. More... | |
void | writeCheckpointData () |
Tells PLUMED to output the checkpoint data. More... | |
void | calculateForces (const ForceProviderInput &forceProviderInput, ForceProviderOutput *forceProviderOutput) override |
Calculate the forces with PLUMED. More... | |
gmx::PlumedForceProvider::PlumedForceProvider | ( | const PlumedOptions & | options | ) |
Initialize the PLUMED interface with the given options.
options | PLUMED options |
|
overridevirtual |
Calculate the forces with PLUMED.
[in] | forceProviderInput | input for force provider |
[out] | forceProviderOutput | output for force provider |
Implements gmx::IForceProvider.
void gmx::PlumedForceProvider::writeCheckpointData | ( | ) |
Tells PLUMED to output the checkpoint data.
If the PLUMED API version is not greater than 3 it will do nothing.