NAMD
|
#include <stdlib.h>
#include <malloc.h>
#include <errno.h>
#include "TclCommands.h"
#include "Vector.h"
#include "NamdTypes.h"
#include <tcl.h>
#include "Matrix4.C"
#include "TclVec.C"
Go to the source code of this file.
Functions | |
static int | get_3D_vector (Tcl_Interp *interp, Tcl_Obj *const list, Vector &result) |
static Tcl_Obj * | obj_3D_vector (const Vector &v) |
int | proc_getbond (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const argv[]) |
int | proc_getangle (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const argv[]) |
int | proc_getdihedral (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const argv[]) |
int | proc_anglegrad (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const argv[]) |
int | proc_dihedralgrad (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const argv[]) |
int | tcl_vector_math_init (Tcl_Interp *interp) |
|
static |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 25 of file TclCommands.C.
References Vector::x, Vector::y, and Vector::z.
Referenced by proc_anglegrad(), proc_dihedralgrad(), proc_getangle(), proc_getbond(), and proc_getdihedral().
|
static |
Definition at line 44 of file TclCommands.C.
References Vector::x, Vector::y, and Vector::z.
Referenced by proc_anglegrad(), and proc_dihedralgrad().
int proc_anglegrad | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | argc, | ||
Tcl_Obj *const | argv[] | ||
) |
Definition at line 130 of file TclCommands.C.
References get_3D_vector(), Vector::length(), and obj_3D_vector().
Referenced by tcl_vector_math_init().
int proc_dihedralgrad | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | argc, | ||
Tcl_Obj *const | argv[] | ||
) |
Definition at line 180 of file TclCommands.C.
References get_3D_vector(), Vector::length(), obj_3D_vector(), Vector::x, Vector::y, and Vector::z.
Referenced by tcl_vector_math_init().
int proc_getangle | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | argc, | ||
Tcl_Obj *const | argv[] | ||
) |
Definition at line 75 of file TclCommands.C.
References get_3D_vector(), Vector::length(), and PI.
Referenced by tcl_vector_math_init().
int proc_getbond | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | argc, | ||
Tcl_Obj *const | argv[] | ||
) |
Definition at line 58 of file TclCommands.C.
References get_3D_vector().
Referenced by tcl_vector_math_init().
int proc_getdihedral | ( | ClientData | , |
Tcl_Interp * | interp, | ||
int | argc, | ||
Tcl_Obj *const | argv[] | ||
) |
Definition at line 97 of file TclCommands.C.
References get_3D_vector(), Vector::length(), and PI.
Referenced by tcl_vector_math_init().
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().