Re: [AMBER] {SPAM?} Re: CPPTRAJ, mindist xyz components

From: Daniel Roe via AMBER <amber.ambermd.org>
Date: Fri, 10 Mar 2023 09:10:59 -0500

Hi,

I'm pretty sure 'vector minimage' just gives whatever the minimum
imaged vector is - it might be in a neighboring cell or it might not.
You can verify this yourself by ensuring the vector magnitude matches
what you get from 'distance', e.g.

vector v12 minimage ^1 :385 magnitude out vtest.dat.12
distance d12 ^1 :385 out dtest.dat.12

In the above case, the magnitude column of the output from vector
(last column) should match the distance printed to dtest.dat.12 (also
last column).

-Dan

On Thu, Mar 9, 2023 at 2:42 PM Matthew Guberman-Pfeffer
<matthew.guberman-pfeffer.uconn.edu> wrote:
>
> Hi Dan,
>
>
>
> That’s not quite want I wanted. The output is of the desired format, but doesn’t “vector minimage” compute the center-of-mass distance between mask1 in one unit cell to mask2 in the adjacent unit cell? I need the vector components of the minimum distance between mask1 and mask2 in the same unit cell.
>
>
>
> Best,
>
> Matthew
>
>
>
>
>
>
>
> From: Daniel Roe <daniel.r.roe.gmail.com>
> Date: Thursday, March 9, 2023 at 2:11 PM
> To: Matthew Guberman-Pfeffer <matthew.guberman-pfeffer.uconn.edu>, AMBER Mailing List <amber.ambermd.org>
> Subject: {SPAM?} Re: [AMBER] CPPTRAJ, mindset xyz components
>
> *Message sent from a system outside of UConn.*
>
>
> Hi,
>
> I think 'vector minimage' should do what you want. See the manual for
> full details.
>
> -Dan
>
> On Thu, Mar 9, 2023 at 1:21 PM Matthew Guberman-Pfeffer via AMBER
> <amber.ambermd.org> wrote:
> >
> > Dear AMBER Community,
> >
> > Is there a way to print out with CPPTRAJ the x, y, and z components of the minimum displacement between two groups?
> >
> > I know that the mindist option to nativecontacts will give the minimum distance, but I need the x, y, and z components used to compute that distance. If I need to add a print statement to the source code, can you please direct me to where I should do that?
> >
> > Best,
> > Matthew
> >
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C01%7Cmatthew.guberman-pfeffer%40uconn.edu%7C549bf039c0554e2a85a908db20d2189f%7C17f1a87e2a254eaab9df9d439034b080%7C0%7C0%7C638139858940897092%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=VVOOuPEAFkbCHQO92wRQ%2Fwi3pfLkmU86d1LKBuGMEt8%3D&reserved=0

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Mar 10 2023 - 06:30:02 PST
Custom Search