NAMD
Static Public Member Functions | List of all members
Measure Class Reference

#include <Measure.h>

Static Public Member Functions

static void createCommands (Tcl_Interp *)
 
static void deleteCommands (Tcl_Interp *)
 

Detailed Description

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

Definition at line 17 of file Measure.h.

Member Function Documentation

void Measure::createCommands ( Tcl_Interp *  interp)
static

Definition at line 169 of file Measure.C.

References Tcl_centerOfMass(), Tcl_centerOfNumber(), Tcl_loadCoords(), and Tcl_radiusOfGyration().

Referenced by ScriptTcl::measure().

169  {
170  Tcl_CreateCommand(interp, "centerOfNumber", Tcl_centerOfNumber,
171  (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
172  Tcl_CreateCommand(interp, "centerOfMass", Tcl_centerOfMass,
173  (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
174  Tcl_CreateCommand(interp, "radiusOfGyration", Tcl_radiusOfGyration,
175  (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
176  Tcl_CreateObjCommand(interp, "loadCoords", Tcl_loadCoords,
177  (ClientData) NULL, (Tcl_CmdDeleteProc *) NULL);
178 }
static int Tcl_centerOfNumber(ClientData, Tcl_Interp *interp, int argc, const char *argv[])
Definition: Measure.C:32
static int Tcl_radiusOfGyration(ClientData, Tcl_Interp *interp, int argc, const char *argv[])
Definition: Measure.C:79
static int Tcl_loadCoords(ClientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
Definition: Measure.C:111
static int Tcl_centerOfMass(ClientData, Tcl_Interp *interp, int argc, const char *argv[])
Definition: Measure.C:55
void Measure::deleteCommands ( Tcl_Interp *  interp)
static

Definition at line 180 of file Measure.C.

Referenced by ScriptTcl::measure().

180  {
181  Tcl_DeleteCommand(interp, "centerOfNumber");
182  Tcl_DeleteCommand(interp, "centerOfMass");
183  Tcl_DeleteCommand(interp, "radiusOfGyration");
184  Tcl_DeleteCommand(interp, "loadCoords");
185 }

The documentation for this class was generated from the following files: