Previous Thread
Next Thread
Print Thread
Joined: Aug 2004
Posts: 192
E
Edo Offline OP
Forum Member
OP Offline
Forum Member
E
Joined: Aug 2004
Posts: 192
Hi All,
I was wondering if it is possible to create an arbitrary array within in a CHARMM script? I'm aware that the 'scalar' keyword creates arrays, but from my reading of the documentation it appears to only do this as a function of the atom id. I would like to be able to define an array in the CHARMM script to the effect of:
stps[1]=100041
stps[2]=38781
... etc.

Any suggestions?
Thanks,
Ed

Joined: Sep 2003
Posts: 8,621
Likes: 24
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,621
Likes: 24
See the detailed description of @@ syntax with the SET command, a bit over halfway through miscom.doc


Rick Venable
computational chemist


Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Release build 20201027)
Responsive Width:

PHP: 7.3.31-1~deb10u1 Page Time: 0.007s Queries: 18 (0.004s) Memory: 0.7277 MB (Peak: 0.7672 MB) Data Comp: Off Server Time: 2022-11-30 14:37:05 UTC
Valid HTML 5 and Valid CSS