NAMD
|
#include <stdlib.h>
#include <string.h>
#include "ParseOptions.h"
#include "ConfigList.h"
#include "InfoStream.h"
#include "strlib.h"
#include <tcl.h>
Go to the source code of this file.
Macros | |
#define | dataelement_cons_macro_default(Mtype, MType, Mptr, Mdef) |
#define | dataelement_cons_macro(Mtype, MType, Mptr) |
#define | parse_input_macro_default(fctnname, type, optional) |
routines to add dependencies to the array More... | |
#define | parse_input_macro(fctnname, type, optional) |
#define | parse_input_macro_default_b(fctnname, type, optional, extra) |
#define | parse_input_macro_b(fctnname, type, optional, extra) |
#define | parse_stringlist_macro(fctn, xxx) |
#define | set_macro(type, field, fieldptr) |
#define | simple_set_macro(type, field, fieldptr) |
#define | PRINT_DOUBLE(BUF, VAL) Tcl_PrintDouble(0,VAL,BUF) |
Variables | |
static const char * | unit_string_array [N_UNITS_UNDEFINED+1] |
static BigReal | scaling_factors [N_UNITS_UNDEFINED+1] |
#define dataelement_cons_macro | ( | Mtype, | |
MType, | |||
Mptr | |||
) |
Definition at line 153 of file ParseOptions.C.
#define dataelement_cons_macro_default | ( | Mtype, | |
MType, | |||
Mptr, | |||
Mdef | |||
) |
Definition at line 140 of file ParseOptions.C.
#define parse_input_macro | ( | fctnname, | |
type, | |||
optional | |||
) |
Definition at line 284 of file ParseOptions.C.
#define parse_input_macro_b | ( | fctnname, | |
type, | |||
optional, | |||
extra | |||
) |
Definition at line 311 of file ParseOptions.C.
#define parse_input_macro_default | ( | fctnname, | |
type, | |||
optional | |||
) |
routines to add dependencies to the array
Definition at line 271 of file ParseOptions.C.
#define parse_input_macro_default_b | ( | fctnname, | |
type, | |||
optional, | |||
extra | |||
) |
Definition at line 297 of file ParseOptions.C.
#define parse_stringlist_macro | ( | fctn, | |
xxx | |||
) |
Definition at line 352 of file ParseOptions.C.
#define PRINT_DOUBLE | ( | BUF, | |
VAL | |||
) | Tcl_PrintDouble(0,VAL,BUF) |
Definition at line 925 of file ParseOptions.C.
Referenced by ParseOptions::getfromptr(), and PRINT_VECTOR().
#define set_macro | ( | type, | |
field, | |||
fieldptr | |||
) |
Definition at line 603 of file ParseOptions.C.
#define simple_set_macro | ( | type, | |
field, | |||
fieldptr | |||
) |
Definition at line 624 of file ParseOptions.C.
Definition at line 89 of file ParseOptions.C.
References N_ANGSTROM, N_EV, N_FSEC, N_HOUR, N_KCAL, N_KELVIN, N_KJOULE, N_METER, N_MIN, N_NANOMETER, N_NSEC, N_SEC, N_UNIT, and scaling_factors.
dataelement_cons_macro | ( | BigReal | , |
FLOAT | , | ||
fptr | |||
) |
dataelement_cons_macro | ( | int | , |
INT | , | ||
iptr | |||
) |
dataelement_cons_macro | ( | unsigned | int, |
UINT | , | ||
uiptr | |||
) |
dataelement_cons_macro | ( | char | , |
STRING | , | ||
sptr | |||
) |
dataelement_cons_macro_default | ( | BigReal | , |
FLOAT | , | ||
fptr | , | ||
fdef | |||
) |
dataelement_cons_macro_default | ( | int | , |
INT | , | ||
iptr | , | ||
idef | |||
) |
dataelement_cons_macro_default | ( | unsigned | int, |
UINT | , | ||
uiptr | , | ||
uidef | |||
) |
Definition at line 48 of file ParseOptions.C.
References N_ANGSTROM, N_EV, N_FSEC, N_HOUR, N_KCAL, N_KELVIN, N_KJOULE, N_METER, N_MIN, N_NANOMETER, N_NSEC, N_SEC, N_UNIT, and N_UNITS_UNDEFINED.
Referenced by ConfigList::add_element(), ResidueLookupElem::append(), bin_evaluation_1away(), bin_evaluation_k_away(), PDB::PDB(), Rebalancer::refine(), ParseOptions::set(), spatial_hashing(), ConfigList::~ConfigList(), and ReductionSet::~ReductionSet().
parse_input_macro | ( | require | , |
int | , | ||
FALSE | |||
) |
parse_input_macro | ( | require | , |
unsigned | int, | ||
FALSE | |||
) |
parse_input_macro | ( | require | , |
char | , | ||
FALSE | |||
) |
parse_input_macro | ( | optional | , |
int | , | ||
TRUE | |||
) |
parse_input_macro | ( | optional | , |
unsigned | int, | ||
TRUE | |||
) |
parse_input_macro | ( | optional | , |
char | , | ||
TRUE | |||
) |
parse_input_macro_b | ( | requireB | , |
int | , | ||
FALSE | , | ||
tmp-> | type = DataElement::BOOL |
||
) |
parse_input_macro_b | ( | optionalB | , |
int | , | ||
TRUE | , | ||
tmp-> | type = DataElement::BOOL |
||
) |
parse_input_macro_default | ( | require | , |
int | , | ||
FALSE | |||
) |
parse_input_macro_default | ( | require | , |
unsigned | int, | ||
FALSE | |||
) |
parse_input_macro_default | ( | optional | , |
int | , | ||
TRUE | |||
) |
parse_input_macro_default | ( | optional | , |
unsigned | int, | ||
TRUE | |||
) |
parse_input_macro_default_b | ( | requireB | , |
int | , | ||
FALSE | , | ||
tmp-> | type = DataElement::BOOL |
||
) |
parse_input_macro_default_b | ( | optionalB | , |
int | , | ||
TRUE | , | ||
tmp-> | type = DataElement::BOOL |
||
) |
parse_stringlist_macro | ( | require | , |
FALSE | |||
) |
parse_stringlist_macro | ( | optional | , |
TRUE | |||
) |
|
static |
Definition at line 927 of file ParseOptions.C.
References PRINT_DOUBLE, Vector::x, Vector::y, and Vector::z.
Referenced by ParseOptions::getfromptr().
const char* rstring | ( | Range | r | ) |
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 ParseOptions.C.
References FREE_RANGE, NEGATIVE, NOT_NEGATIVE, NOT_POSITIVE, and POSITIVE.
set_macro | ( | float | , |
fdata | , | ||
fptr | |||
) |
set_macro | ( | int | , |
idata | , | ||
iptr | |||
) |
set_macro | ( | uint | , |
uidata | , | ||
uiptr | |||
) |
simple_set_macro | ( | bool | , |
idata | , | ||
iptr | |||
) |
simple_set_macro | ( | vector | , |
vdata | , | ||
vptr | |||
) |
simple_set_macro | ( | stringlist | , |
sldata | , | ||
slptr | |||
) |
|
static |
Definition at line 114 of file ParseOptions.C.
const char* ustring | ( | Units | u | ) |
Definition at line 42 of file ParseOptions.C.
References unit_string_array.
Referenced by ParseOptions::units().
|
static |
Definition at line 82 of file ParseOptions.C.
Referenced by convert().
|
static |
Definition at line 37 of file ParseOptions.C.
Referenced by ustring().