Hello,<div><br></div><div>I am trying to implement a new non-bonded interaction in GROMACS that should only be applied to certain atom types.</div><div>I already figured out how to modify the existing interactions and how to implement new forces, but I still don&#39;t know how to apply them only to a specific atom type. The t_mdatoms struct doesn&#39;t seem to include any atomnames or atomtypes variables, so I was wondering if I should include one (just copying it from t_atoms, in the same way as all the other variables are copied in the atoms2md() function) and use it to restrict the application of the new forces based on the atomtypes/names.</div>

<div>It looks a bit complicated to handle the problem this way, so could you think of a better solution (e.g. using the parameters already available in the t_mdatoms struct)?</div><div><br></div><div>Leonardo Garma</div>
<div>
Graduate Student</div><div>University of Oulu</div><div>Biochemistry Department</div><div> </div><div><br></div><div><br></div><div><br></div>