Gromacs  2026.0-dev-20241204-d69d709
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{qmmmoptions.cpp} Namespace Reference

Functions

template<class ToType , class TransformWithFunctionType >
void QMMMMdpTransformFromString (IKeyValueTreeTransformRules *rules, TransformWithFunctionType transformationFunction, const std::string &optionTag)
 Helper to declare mdp transform rules. More...
 
template<class OptionType >
void addQMMMMdpOutputValue (KeyValueTreeObjectBuilder *builder, const OptionType &option, const std::string &optionTag)
 Helper to declare mdp output. More...
 
void addQMMMMdpOutputValueComment (KeyValueTreeObjectBuilder *builder, const std::string &comment, const std::string &optionTag)
 Helper to declare mdp output comments. More...
 

Function Documentation

template<class OptionType >
void gmx::anonymous_namespace{qmmmoptions.cpp}::addQMMMMdpOutputValue ( KeyValueTreeObjectBuilder *  builder,
const OptionType &  option,
const std::string &  optionTag 
)

Helper to declare mdp output.

Enforces uniform mdp options output strings that are always prepended with the correct string for the QMMM mdp options and are consistent with the options name and transformation type.

Template Parameters
OptionTypethe type of the mdp option
Parameters
[in]builderthe KVT builder to generate the output
[in]optionthe mdp option
[in]optionTagstring tag that describes the mdp option, appended to the default string for the QMMM simulation
void gmx::anonymous_namespace{qmmmoptions.cpp}::addQMMMMdpOutputValueComment ( KeyValueTreeObjectBuilder *  builder,
const std::string &  comment,
const std::string &  optionTag 
)

Helper to declare mdp output comments.

Enforces uniform mdp options comment output strings that are always prepended with the correct string for the QMMM mdp options and are consistent with the options name and transformation type.

Parameters
[in]builderthe KVT builder to generate the output
[in]commenton the mdp option
[in]optionTagstring tag that describes the mdp option
template<class ToType , class TransformWithFunctionType >
void gmx::anonymous_namespace{qmmmoptions.cpp}::QMMMMdpTransformFromString ( 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 QMMM 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 QMMM simulation