VMD-L Mailing List
From: karthik kumar (karthik3327_at_gmail.com)
Date: Fri May 08 2015 - 02:02:15 CDT
- Next message: Maxim Belkin: "Re: how to set the coordinates of carbon nanotube?"
- Previous message: Ά‘κΟ: "how to set the coordinates of carbon nanotube?"
- In reply to: Ά‘κΟ: "how to set the coordinates of carbon nanotube?"
- Next in thread: Maxim Belkin: "Re: how to set the coordinates of carbon nanotube?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
use the below script
************************************************
pbc set { 500 500 500 }
pbc box -center origin
set all [ atomselect top all ]
set com [ measure center $all]
set move [ vecscale -1 $com ]
$all moveby $move
***************************************
Regards,
Karteek,
JNCASR, INDIA
On Fri, May 8, 2015 at 12:00 PM, δΈζ <dingh09_at_163.com> wrote:
> Hi,
> I have create a carbon nanotube with VMD molefacture. I want to set the
> coordinates of its center as (0,0,0). Is there any way to do so?
> Thank you!
>
>
>
- Next message: Maxim Belkin: "Re: how to set the coordinates of carbon nanotube?"
- Previous message: Ά‘κΟ: "how to set the coordinates of carbon nanotube?"
- In reply to: Ά‘κΟ: "how to set the coordinates of carbon nanotube?"
- Next in thread: Maxim Belkin: "Re: how to set the coordinates of carbon nanotube?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]