VMD-L Mailing List
From: Lubos Vrbka (lists_at_vrbka.net)
Date: Fri Nov 24 2006 - 07:46:14 CST
- Next message: Cesar Avila: "Shutter glasses on VMD"
- Previous message: Alexandre A. Vakhrouchev: "Atomselect in loops"
- In reply to: Alexandre A. Vakhrouchev: "Atomselect in loops"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
hi,
> When I use atomselect command inside loops in VMD tcl scripts, system
> run out of memory and my scripts abort. I guess that is because a lot
> of "atomselect#" (where # is 0,1,2,3...) are created. How can I
> clean-up memory? I have found only "atomselect list" command to list
> all selections.
set sel [atomselect ...]
...
$sel delete
i.e.,
$name_of_your_selection delete
is the code you need.
regards,
-- Lubos _@_" http://www.lubos.vrbka.net
- Next message: Cesar Avila: "Shutter glasses on VMD"
- Previous message: Alexandre A. Vakhrouchev: "Atomselect in loops"
- In reply to: Alexandre A. Vakhrouchev: "Atomselect in loops"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]