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.
Selective atom constraints
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.
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.
-
- Site Admin
- Posts: 167
- Joined: Tue Jun 17, 2008 7:03 pm
Re: Selective atom constraints
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!
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!