Gromacs  2027.0-dev-20261112-5a4f586
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Friends
gmx::test::iListInput Struct Reference

#include <gromacs/listed_forces/tests/bondedtestdata.h>

+ Collaboration diagram for gmx::test::iListInput:

Description

Input structure for listed forces tests.

Public Member Functions

bool hasFepParameters () const
 Helper to detect if parameters have FEP (A != B states)
 
 iListInput ()
 Constructor.
 
 iListInput (float ftol, double dtol)
 Constructor with tolerance. More...
 
iListInput setHarmonic (InteractionFunction ft, real rA, real krA, real rB, real krB)
 Set parameters for harmonic potential.
 
iListInput setHarmonic (InteractionFunction ft, real rA, real krA)
 
iListInput setCubic (real b0, real kb, real kcub)
 
iListInput setMorse (real b0A, real cbA, real betaA, real b0B, real cbB, real betaB)
 
iListInput setMorse (real b0A, real cbA, real betaA)
 
iListInput setFene (real bm, real kb)
 
iListInput setLinearAngle (real klinA, real aA, real klinB, real aB)
 
iListInput setLinearAngle (real klinA, real aA)
 
iListInput setUreyBradley (real thetaA, real kthetaA, real r13A, real kUBA, real thetaB, real kthetaB, real r13B, real kUBB)
 
iListInput setUreyBradley (real thetaA, real kthetaA, real r13A, real kUBA)
 
iListInput setCrossBondBonds (real r1e, real r2e, real krr)
 
iListInput setCrossBondAngles (real r1e, real r2e, real r3e, real krt)
 
iListInput setQuarticAngles (real theta, const real c[5])
 
iListInput setPDihedrals (InteractionFunction ft, real phiA, real cpA, int mult, real phiB, real cpB)
 
iListInput setPDihedrals (InteractionFunction ft, real phiA, real cpA, int mult)
 
iListInput setRbDihedrals (const real rbcA[NR_RBDIHS], const real rbcB[NR_RBDIHS])
 
iListInput setRbDihedrals (const real rbc[NR_RBDIHS])
 
iListInput setPolarization (real alpha)
 
iListInput setAnharmPolarization (real alpha, real drcut, real khyp)
 
iListInput setTholePolarization (real a, real alpha1, real alpha2)
 
iListInput setWaterPolarization (real alpha_x, real alpha_y, real alpha_z, real rOH, real rHH, real rOD)
 

Public Attributes

std::optional
< InteractionFunction > 
ftype
 Function type.
 
float ftoler = 1e-6
 Tolerance for float evaluation.
 
double dtoler = 1e-8
 Tolerance for double evaluation.
 
t_iparams iparams = { { 0 } }
 Interaction parameters.
 

Friends

std::ostream & operator<< (std::ostream &out, const iListInput &input)
 

Constructor & Destructor Documentation

gmx::test::iListInput::iListInput ( float  ftol,
double  dtol 
)
inline

Constructor with tolerance.

Parameters
[in]ftolSingle precision tolerance
[in]dtolDouble precision tolerance

The documentation for this struct was generated from the following files: