Gromacs  2024.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{colvarsoptions.cpp} Namespace Reference

Functions

template<class ToType , class TransformWithFunctionType >
void colvarsMdpTransformFromString (IKeyValueTreeTransformRules *rules, TransformWithFunctionType transformationFunction, const std::string &optionTag)
 Helper to declare mdp transform rules. More...
 

Function Documentation

template<class ToType , class TransformWithFunctionType >
void gmx::anonymous_namespace{colvarsoptions.cpp}::colvarsMdpTransformFromString ( IKeyValueTreeTransformRules *  rules,
TransformWithFunctionType  transformationFunction,
const std::string &  optionTag 
)

Helper to declare mdp transform rules.

Enforces uniform mdp options that are always prepended with the correct string for the colvars mdp options.

Template Parameters
ToTypetype to be transformed to
TransformWithFunctionTypetype of transformation function to be used
Parameters
[in]rulesKVT transformation rules
[in]transformationFunctionthe function to transform the flat kvt tree
[in]optionTagstring tag that describes the mdp option, appended to the default string for the density guided simulation