Collective Variables Module - Developer Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Macros | Functions
SimParameters.C File Reference
#include "InfoStream.h"
#include "ComputeNonbondedUtil.h"
#include "ConfigList.h"
#include "SimParameters.h"
#include "ParseOptions.h"
#include "structures.h"
#include "Communicate.h"
#include "MStream.h"
#include "Output.h"
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <fstream>
#include "strlib.h"
#include "ComputeNonbondedMICKernel.h"
#include "DeviceCUDA.h"
#include "Debug.h"
Include dependency graph for SimParameters.C:

Macros

#define CHDIR   chdir
 
#define MKDIR(X)   mkdir(X,0777)
 
#define PATHSEP   '/'
 
#define PATHSEPSTR   "/"
 
#define XXXBIGREAL   1.0e32
 
#define MAX_SCRIPT_PARAM_SIZE   128
 
#define SCRIPT_PARSE_BOOL(NAME, VAR)   { if ( ! strncasecmp(param,(NAME),MAX_SCRIPT_PARAM_SIZE) ) { (VAR) = atobool(value); return; } }
 
#define SCRIPT_PARSE_INT(NAME, VAR)   { if ( ! strncasecmp(param,(NAME),MAX_SCRIPT_PARAM_SIZE) ) { (VAR) = atoi(value); return; } }
 
#define SCRIPT_PARSE_FLOAT(NAME, VAR)   { if ( ! strncasecmp(param,(NAME),MAX_SCRIPT_PARAM_SIZE) ) { (VAR) = atof(value); return; } }
 
#define SCRIPT_PARSE_MOD_FLOAT(NAME, VAR, MOD)   { if ( ! strncasecmp(param,(NAME),MAX_SCRIPT_PARAM_SIZE) ) { (VAR) = atof(value) MOD; return; } }
 
#define SCRIPT_PARSE_VECTOR(NAME, VAR)   { if ( ! strncasecmp(param,(NAME),MAX_SCRIPT_PARAM_SIZE) ) { (VAR).set(value); return; } }
 
#define SCRIPT_PARSE_STRING(NAME, VAR)   { if ( ! strncasecmp(param,(NAME),MAX_SCRIPT_PARAM_SIZE) ) { strcpy(VAR,value); return; } }
 
#define BoolToString(b)   ((b) ? "TRUE" : "FALSE")
 

Functions

int atobool (const char *s)
 

Detailed Description

Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved. SimParameters is just a glorified structure to hold the global static simulation parameters such as timestep size, cutoff, etc. that are read in from the configuration file.