<div dir="ltr">  Dear Nicolas,<div><br></div><div>just use the COLVAR&COORDINATION , and list the indexes of the atoms using the keywords</div><div>ATOMS_FROM and ATOMS_TO</div><div><br></div><div>Regards</div><div>Marcella<br><br>On Friday, September 7, 2018 at 5:26:58 AM UTC+2, Nicolás Marcelo Rozas Castro wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Dears CP2K users <br><br><div>I have a problem to define my colective variable. I want to define the coordination number between an atom and many others in my simulation box, but i want to use the summation of this as:</div><div><br></div><div><img src="https://groups.google.com/group/cp2k/attach/4ea44b83ec6fe/Auto%20Generated%20Inline%20Image%201?part=0.1&view=1&authuser=0" alt=""></div><div>where s, are all the atoms tha i need to consider. so my question is, how can i achieve this?</div><div><br></div></blockquote></div></div>