68 using intPair = std::pair<int, int>;
74 DeclareParameter(TargetTemp, RealType);
75 DeclareParameter(Ensemble, std::string);
76 DeclareParameter(Dt, RealType);
77 DeclareParameter(RunTime, RealType);
78 DeclareParameter(FinalConfig, std::string);
79 DeclareParameter(SampleTime, RealType);
80 DeclareParameter(ResetTime, RealType);
81 DeclareParameter(StatusTime, RealType);
82 DeclareParameter(CutoffRadius, RealType);
83 DeclareParameter(SwitchingRadius, RealType);
84 DeclareParameter(TempSet,
bool);
85 DeclareParameter(ThermalTime, RealType);
86 DeclareParameter(UsePeriodicBoundaryConditions,
bool);
87 DeclareParameter(ConserveLinearMomentum,
bool);
88 DeclareParameter(ConserveAngularMomentum,
bool);
89 DeclareParameter(TargetPressure, RealType);
90 DeclareParameter(UseAtomicVirial,
bool);
91 DeclareParameter(UseLongRangeCorrections,
bool);
92 DeclareParameter(TauThermostat, RealType);
93 DeclareParameter(TauBarostat, RealType);
94 DeclareParameter(LangevinPistonDrag, RealType);
95 DeclareParameter(ZconsTime, RealType);
96 DeclareParameter(ZconsTol, RealType);
97 DeclareParameter(ZconsForcePolicy, std::string);
98 DeclareParameter(Seed,
unsigned long int);
99 DeclareParameter(UseInitalTime,
bool);
100 DeclareParameter(UseIntialExtendedSystemState,
bool);
101 DeclareParameter(OrthoBoxTolerance, RealType);
102 DeclareParameter(ZconsGap, RealType);
103 DeclareParameter(ZconsFixtime, RealType);
104 DeclareParameter(ZconsUsingSMD,
bool);
105 DeclareParameter(UseThermodynamicIntegration,
bool);
106 DeclareParameter(ThermodynamicIntegrationLambda, RealType);
107 DeclareParameter(ThermodynamicIntegrationK, RealType);
108 DeclareParameter(ForceFieldVariant, std::string);
109 DeclareParameter(ForceFieldFileName, std::string);
110 DeclareParameter(SurfaceTension, RealType);
111 DeclareParameter(PrintPressureTensor,
bool);
112 DeclareParameter(PrintVirialTensor,
bool);
113 DeclareParameter(PrintHeatFlux,
bool);
114 DeclareParameter(TaggedAtomPair, intPair);
115 DeclareParameter(PrintTaggedPairDistance,
bool);
117 DeclareParameter(ElectrostaticScreeningMethod, std::string);
118 DeclareParameter(UseSurfaceTerm,
bool);
119 DeclareParameter(UseSlabGeometry,
bool);
120 DeclareParameter(DampingAlpha, RealType);
121 DeclareParameter(Dielectric, RealType);
122 DeclareParameter(CutoffMethod, std::string);
123 DeclareParameter(SwitchingFunctionType, std::string);
124 DeclareParameter(CompressDumpFile,
bool);
125 DeclareParameter(OutputForceVector,
bool);
126 DeclareParameter(OutputParticlePotential,
bool);
127 DeclareParameter(OutputElectricField,
bool);
128 DeclareParameter(OutputFluctuatingCharges,
bool);
129 DeclareParameter(OutputSitePotential,
bool);
130 DeclareParameter(OutputDensity,
bool);
131 DeclareParameter(SkinThickness, RealType);
132 DeclareParameter(StatFileFormat, std::string);
133 DeclareParameter(StatFilePrecision,
int);
134 DeclareParameter(HydroPropFile, std::string);
135 DeclareParameter(Viscosity, RealType);
136 DeclareParameter(BeadSize, RealType);
137 DeclareParameter(UseSphericalBoundaryConditions,
bool);
138 DeclareParameter(FrozenBufferRadius, RealType);
139 DeclareParameter(LangevinBufferRadius, RealType);
140 DeclareParameter(AccumulateBoxDipole,
bool);
141 DeclareParameter(AccumulateBoxQuadrupole,
bool);
142 DeclareParameter(NeighborListNeighbors,
int);
143 DeclareParameter(UseMultipleTemperatureMethod,
bool);
144 DeclareParameter(MTM_Ce, RealType);
145 DeclareParameter(MTM_G, RealType);
146 DeclareParameter(MTM_Io, RealType);
147 DeclareParameter(MTM_Sigma, RealType);
148 DeclareParameter(MTM_R, RealType);
149 DeclareParameter(UseRestraints,
bool);
150 DeclareParameter(Restraint_file, std::string);
151 DeclareParameter(HULL_Method, std::string);
152 DeclareParameter(Alpha, RealType);
153 DeclareAlterableParameter(MDfileVersion,
int);
156 DeclareParameter(UniformGradientStrength, RealType);
157 DeclareParameter(UniformGradientDirection1, std::vector<RealType>);
158 DeclareParameter(UniformGradientDirection2, std::vector<RealType>);
159 DeclareParameter(ElectricField, std::vector<RealType>);
160 DeclareParameter(ConstraintTime, RealType);
161 DeclareParameter(PotentialSelection, std::string);
162 DeclareParameter(PrivilegedAxis, std::string);
170 size_t getNComponents() {
return components_.size(); }
171 std::vector<Component*> getComponents() {
return components_; }
172 Component* getComponentAt(
int index) {
return components_.at(index); }
174 size_t getNZconsStamps() {
return zconstraints_.size(); }
175 std::vector<ZConsStamp*> getZconsStamps() {
return zconstraints_; }
176 ZConsStamp* getZconsStampAt(
int index) {
return zconstraints_.at(index); }
178 size_t getNRestraintStamps() {
return restraints_.size(); }
179 std::vector<RestraintStamp*> getRestraintStamps() {
return restraints_; }
181 return restraints_.at(index);
198 virtual void validate();
201 std::vector<Component*> components_;
202 std::vector<ZConsStamp*> zconstraints_;
203 std::vector<RestraintStamp*> restraints_;
204 std::map<std::string, MoleculeStamp*> moleculeStamps_;
205 std::map<std::string, FragmentStamp*> fragmentStamps_;
206 std::pair<int, int> taggedAtomPair_;