Gromacs
2024.4
|
#include <gromacs/applied_forces/densityfitting/densityfittingoptions.h>
Input data storage for density fitting.
Public Member Functions | |
void | initMdpTransform (IKeyValueTreeTransformRules *rules) override |
From IMdpOptionProvider. | |
void | buildMdpOutput (KeyValueTreeObjectBuilder *builder) const override |
Build mdp parameters for density fitting to be output after pre-processing. More... | |
void | initMdpOptions (IOptionsContainerWithSections *options) override |
Connect option name and data. | |
bool | active () const |
Report if this set of options is active. | |
const DensityFittingParameters & | buildParameters () |
Process input options to parameters, including input file reading. | |
void | setFitGroupIndices (const IndexGroupsAndNames &indexGroupsAndNames) |
Evaluate and store atom indices. More... | |
void | writeInternalParametersToKvt (KeyValueTreeObjectBuilder treeBuilder) |
Store the paramers that are not mdp options in the tpr file. | |
void | readInternalParametersFromKvt (const KeyValueTreeObject &tree) |
Set the internal parameters that are stored in the tpr file. | |
const std::string & | referenceDensityFileName () const |
Return the file name of the reference density. | |
void | checkEnergyCaluclationFrequency (EnergyCalculationFrequencyErrors *energyCalculationFrequencyErrors) const |
Check if input parameters are consistent with other simulation parameters. | |
|
overridevirtual |
Build mdp parameters for density fitting to be output after pre-processing.
[in,out] | builder | the builder for the mdp options output KV-tree. |
Implements gmx::IMdpOptionProvider.
void gmx::DensityFittingOptions::setFitGroupIndices | ( | const IndexGroupsAndNames & | indexGroupsAndNames | ) |
Evaluate and store atom indices.
During pre-processing, use the group string from the options to evaluate the indices of the atoms to be subject to forces from this module.