Selective atom constraints

Questions and discussions regarding the use of Qbox
Forum rules
You must be a registered user to post in this forum. Registered users may also post new topics if they consider that their subject does not correspond to any topic already present on the forum.
Post Reply
lordi
Posts: 1
Joined: Wed Jun 24, 2015 6:17 am

Selective atom constraints

Post by lordi »

Hello. Is it possible to constrain or lock only specified coordinate directions of a given atom? For example, I would like to run MD with one of the atoms allowed to move only in the x-y plane (lock only z coordinate).
Thank you.
fgygi
Site Admin
Posts: 150
Joined: Tue Jun 17, 2008 7:03 pm

Re: Selective atom constraints

Post by fgygi »

Unfortunately as of 1.61.0, position constraints do not allow for locking of individual components of atomic coordinates.
Note that it should be easy to add derived classes of the Constraint class that would implement "line" and "plane" constraints. We will add this feature in the to do list!
Post Reply