Gromacs  2026.0-dev-20241213-9ac17bb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::PlumedForceProvider Class Referencefinal

#include <gromacs/applied_forces/plumed/plumedforceprovider.h>

+ Inheritance diagram for gmx::PlumedForceProvider:
+ Collaboration diagram for gmx::PlumedForceProvider:

Description

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...
 

Constructor & Destructor Documentation

gmx::PlumedForceProvider::PlumedForceProvider ( const PlumedOptions &  options)

Initialize the PLUMED interface with the given options.

Parameters
optionsPLUMED options

Member Function Documentation

void gmx::PlumedForceProvider::calculateForces ( const ForceProviderInput forceProviderInput,
ForceProviderOutput forceProviderOutput 
)
overridevirtual

Calculate the forces with PLUMED.

Parameters
[in]forceProviderInputinput for force provider
[out]forceProviderOutputoutput 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.


The documentation for this class was generated from the following files: