Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

tcl_commands.C File Reference

#include <stdlib.h>
#include <string.h>
#include "c_compiler.h"
#include "tcl.h"
#include "TclCommands.h"
#include "tcl_commands.h"
#include "config.h"
#include "utilities.h"
#include "CUDAKernels.h"
#include "WKFThreads.h"
#include "vmd.h"

Go to the source code of this file.

Defines

#define SIMPLE_TCL_OPT(string, result)

Functions

int vmdinfo_tcl (ClientData, Tcl_Interp *interp, int argc, const char *argv[])
int Vmd_Init (Tcl_Interp *interp)


Define Documentation

#define SIMPLE_TCL_OPT string,
result   
 

Value:

if (!strcmp(argv[1], string)) {             \
  Tcl_AppendResult(interp, result, NULL);   \
  return TCL_OK;                            \
}

Definition at line 39 of file tcl_commands.C.

Referenced by vmdinfo_tcl.


Function Documentation

int Vmd_Init Tcl_Interp *    interp
 

Definition at line 188 of file tcl_commands.C.

References COLVARS_VERSION, NULL, and vmdinfo_tcl.

int vmdinfo_tcl ClientData   ,
Tcl_Interp *    interp,
int    argc,
const char *    argv[]
[static]
 

Definition at line 45 of file tcl_commands.C.

References c_compiler_std, NULL, VMDApp::par_name, VMDApp::par_rank, VMDApp::par_size, SIMPLE_TCL_OPT, vmd_cuda_num_devices, vmd_get_avail_physmem_mb, VMDgetDisplayTypeName, wkf_cpu_affinitylist, and wkf_thread_numprocessors.

Referenced by Vmd_Init.


Generated on Thu Apr 25 02:44:13 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002