Path collective variables IS & IZ

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
rwindiks
Newbie
Newbie
Posts: 21
Joined: Tue Oct 25, 2016 9:55 am
Location: Switzerland
Contact:

Path collective variables IS & IZ

#1 Post by rwindiks » Mon Nov 30, 2026 1:27 pm

Dear esteemed VASP developers,

according to the description at https://vasp.at/wiki/ICONST it is possible to give every primitive collective variable used in IS and IZ a different weight, using different values for the coefficients ci. However, IZ is normalized with c1 and the other coefficients are not used for the normalization. Does this has implications on which primitive collective variable is defined first in. ICONST and IRCCAR, respectively?

In generalist it wise to define different parameters ci for every primitive collective variable? Or is better from the numerical point of view to use the same coefficient for all primitive collective variable defined in ICONST and IRCCAR, respectively?

Thanks.

Renė


jonathan_lahnsteiner2
Global Moderator
Global Moderator
Posts: 317
Joined: Fri Jul 01, 2022 2:17 pm

Re: Path collective variables IS & IZ

#2 Post by jonathan_lahnsteiner2 » Thu Dec 03, 2026 11:10 am

Dear Rene,

I was looking into your questions with some examples. You've hit on a point the wiki doesn't make clear. Yes, the order matters. IZ is normalized with the coefficient of the last primitive coordinate in ICONST, not the first one. So with different coefficients, IZ changes when you reorder the primitives, while IS stays the same.

There are two more things worth knowing about the order. The primitives that define the path have to be the first lines in ICONST, in the same order as the columns in IRCCAR, because VASP matches the columns to the ICONST lines by position. If you need other primitive coordinates, just put them after those lines. Otherwise IS and IZ come out wrong, and VASP won't warn you. Also, IS and IZ always share the same coefficients: VASP takes them from whichever of the two lines comes first and ignores the coefficients on the second one.

As for your second question, I'd recommend using the same coefficient for all primitives. With different coefficients, the forces coming from IZ aren't consistent with the IZ value. That becomes a problem as soon as you constrain or bias IZ, use it in metadynamics or put a spring on it. Different coefficients are fine for IS, and for IZ as long as you only monitor it. As a bonus, with equal coefficients the order of the primitives no longer affects IZ either.
One last tip: don't make the coefficient too large. If c·Σ(q − q̃)² is larger than about 700 for every point on the path, IS and IZ simply become zero, and so do their forces. If it's too small, IS can't tell the path points apart. A good starting point is c ≈ 2.3 divided by the average squared distance between neighbouring path points, with the points spaced roughly evenly.

I hope this is of help to you and all the Best

Jonathan


Post Reply