2#ifndef STORMM_NML_FFMORPH_H
3#define STORMM_NML_FFMORPH_H
6#include "Constants/behavior.h"
7#include "ForceField/forcefield_element.h"
8#include "ForceField/forcefield_enumerators.h"
9#include "Parsing/textfile.h"
11#include "namelist_emulator.h"
16using modeling::ForceFieldElement;
17using modeling::ParameterKind;
18using parse::WrapTextSearch;
38 WrapTextSearch wrap = WrapTextSearch::NO);
40 ExceptionResponse policy_in = ExceptionResponse::DIE,
41 WrapTextSearch wrap = WrapTextSearch::NO);
68 ExceptionResponse policy;
75 std::vector<ForceFieldElement> harmonic_bonds;
79 std::vector<ForceFieldElement> harmonic_angles;
82 std::vector<ForceFieldElement> cosine_dihedrals;
86 std::vector<ForceFieldElement> urey_bradley_angles;
89 std::vector<ForceFieldElement> charmm_impropers;
92 std::vector<ForceFieldElement> cmap_surfaces;
95 std::vector<ForceFieldElement> attn14_scalings;
98 std::vector<ForceFieldElement> charge_properties;
101 std::vector<ForceFieldElement> van_der_waals_properties;
105 std::vector<ForceFieldElement> virtual_sites;
124 ExceptionResponse policy = ExceptionResponse::DIE,
125 WrapTextSearch wrap = WrapTextSearch::NO);
A versatile object for collecting the parameters and scope of applicability of any molecular mechanic...
Definition forcefield_element.h:24
const NamelistEmulator & getTranscript() const
Get the original namelist emulator object as a transcript of the user input.
Definition nml_ffmorph.cpp:430
ForceFieldElement getModelEdit(ParameterKind kind, int index) const
Get a specific edit from within the namelist's holdings.
Definition nml_ffmorph.cpp:392
int getEditCount(ParameterKind kind) const
Get the number of edits for a particular force field term.
Definition nml_ffmorph.cpp:362
FFMorphControls(const FFMorphControls &original)=default
As with other control objects, copy and move constructors, plus copy and move assignment operators,...
FFMorphControls(ExceptionResponse policy_in=ExceptionResponse::DIE, WrapTextSearch wrap=WrapTextSearch::NO)
The constructor can prepare an object with default settings or read the corresponding namelist to acc...
Definition nml_ffmorph.cpp:14
Collection of variables to transcribe information contained within a namelist.
Definition namelist_emulator.h:30
Structure for translating a text file into a compact, rapidly parsable vector of characters in CPU RA...
Definition textfile.h:45