TclCommands.h File Reference

#include <tcl.h>

Go to the source code of this file.

Functions

int tcl_vector_math_init (Tcl_Interp *)


Function Documentation

int tcl_vector_math_init ( Tcl_Interp *   ) 

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

Definition at line 299 of file TclCommands.C.

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

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

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


Generated on Sat May 26 01:17:16 2018 for NAMD by  doxygen 1.4.7