Dear Alh.<div><br></div><div>1) If you define the plane through its normal vector, it is a fixed vector. </div><div>You could also use the definition of fixed points to assign fixed coordinates in space that define the plane.</div><div>2) Being a colvar, some connection to the structural features of the atomic system is required, otherwise it cannot have any effect on the simulation.</div><div>Regards</div><div>Marcella</div><div><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Monday, August 15, 2022 at 5:01:16 AM UTC+2 alh...@gmail.com wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dear all. <div><br></div><div>I am working on a metadynamics study. I want to define a collective variable as the distance from an atom to a plane.  I have two questions:</div><div>(1) one can define a plane by its normal vector,  see</div><div><a href="https://manual.cp2k.org/cp2k-2022_1-branch_with_links/CP2K_INPUT/FORCE_EVAL/SUBSYS/COLVAR/ANGLE_PLANE_PLANE/PLANE.html#list_NORMAL_VECTOR" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=en&q=https://manual.cp2k.org/cp2k-2022_1-branch_with_links/CP2K_INPUT/FORCE_EVAL/SUBSYS/COLVAR/ANGLE_PLANE_PLANE/PLANE.html%23list_NORMAL_VECTOR&source=gmail&ust=1660629573588000&usg=AOvVaw0Nf9eQ0G3O1gv7DL8hzcs7">CP2K_INPUT / FORCE_EVAL / SUBSYS / COLVAR / ANGLE_PLANE_PLANE / PLANE</a><br></div><div>keyword </div><div><br></div><div>NORMAL_VECTOR {Real} {Real} {Real}<br><em>Alternatively to 3 atoms/points one can define one of the two, planes by defining its NORMAL vector.</em>  <br></div><div><br></div><div><b>my question</b>: since it's not a fixed vector, how to define a fixed plane?</div><div><br></div><div>(2)the manual emphasizes that </div><div><em>"At least one plane must be defined through atoms."</em><br></div><div><br></div><div><b>my question</b>: for what reason at least one plane must be defined thru atoms? why can't I define all planes thru normal vectors?</div><div><br></div><div>Thanks! </div><div>Alh.</div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/f7d542a0-898b-44e6-bf25-bd8a3120e7a7n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/f7d542a0-898b-44e6-bf25-bd8a3120e7a7n%40googlegroups.com</a>.<br />