Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

TclCommands.h File Reference

#include <tcl.h>

Go to the source code of this file.

Defines

#define USE_COMPAT_CONST

Functions

int tcl_vector_math_init (Tcl_Interp *)


Define Documentation

#define USE_COMPAT_CONST
 

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.

Definition at line 12 of file TclCommands.h.


Function Documentation

int tcl_vector_math_init Tcl_Interp *   ) 
 

Definition at line 300 of file TclCommands.C.

References proc_anglegrad(), proc_dihedralgrad(), proc_getangle(), proc_getbond(), proc_getdihedral(), and Vec_Init().

Referenced by ComputeTclBC::ComputeTclBC(), and ScriptTcl::ScriptTcl().

00300                                              {
00301 
00302   // first import from TclVec.C stolen from VMD
00303   Vec_Init(interp);
00304 
00305   Tcl_CreateObjCommand(interp, "getbond", proc_getbond,
00306     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00307   Tcl_CreateObjCommand(interp, "getangle", proc_getangle,
00308     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00309   Tcl_CreateObjCommand(interp, "getdihedral", proc_getdihedral,
00310     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00311   Tcl_CreateObjCommand(interp, "anglegrad", proc_anglegrad,
00312     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00313   Tcl_CreateObjCommand(interp, "dihedralgrad", proc_dihedralgrad,
00314     (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
00315 
00316   return TCL_OK;
00317 }


Generated on Fri May 25 04:07:19 2012 for NAMD by  doxygen 1.3.9.1