Page 1 of 1
Selective atom constraints
Posted: Wed Jun 24, 2015 5:31 pm
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.
Re: Selective atom constraints
Posted: Fri Jun 26, 2015 9:54 am
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!