ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/utils/sysBuild.hpp
(Generate patch)

Comparing trunk/OOPSE/utils/sysBuild.hpp (file contents):
Revision 498 by mmeineke, Mon Apr 14 21:22:54 2003 UTC vs.
Revision 598 by chuckv, Mon Jul 14 21:35:45 2003 UTC

# Line 1 | Line 1
1   #ifndef __SYSBUILD_H__
2   #define __SYSBUILD_H__
3  
4 + #include "MoleculeStamp.hpp"
5 +
6 + #define STR_LENGTH 500
7 + #define RAND_SEED 1337
8 +
9   typedef struct{
10    char* in_name;
11    char* out_prefix;
12    int isRandom;
13   } sysBuildInfo;
14  
15 < typedef struct{
16 <  char name[200];
17 <  int nMol;
18 <  bwMolLinked* next;
14 < } bwMolLinked;
15 > typedef struct includeTag{
16 >  char name[STR_LENGTH];
17 >  struct includeTag* next;
18 > } includeLinked;
19  
20   typedef struct{
21 <  char forceField[200];
22 <  char ensemble[100];
21 >  
22 >  includeLinked* includes;
23 >  char* outPrefix;
24 >    
25 >  char forceField[STR_LENGTH];
26 >  char ensemble[STR_LENGTH];
27 >
28 >  char lattice[STR_LENGTH];
29 >
30    double targetTemp;
31    double dt;
32    double runTime;
33 +  double boxX, boxY, boxZ;  
34    int nComponents;
35 <  bwMolLinked* components;
35 >  int totNmol;
36 >  int* componentsNmol;
37 >  
38  
39 +
40 +  MoleculeStamp** compStamps;
41 +  
42    int havePressure;
43 <  int haveTauBarrostat;
44 <  int haveTauTemp;
43 >  int haveTauBarostat;
44 >  int haveTauThermostat;
45    int haveQmass;
46  
47    double targetPressure;
48 <  double tauBarrostat;
49 <  double tauTemp;
48 >  double tauBarostat;
49 >  double tauThermostat;
50    double Qmass;
51  
52 < } bassWriteInfo;
52 >  int latticeType; // Type of lattice corresponting to the
53 >                   // types defined in latticeBuilder.hpp
54 >  int isRandomParticle; // Build a random nanoparticle.
55 >  int hasVacancies;    // Build nanoparticle with vacancies.
56 >  int buildCoreShell; // logical to build a core-shell particle
57  
58 +  double soluteX;  // more fraction of solute in random nanoparticle
59 +  double paticleRadius; // nanoparticle total radius
60 +  double coreRadius; // nanoparticle core radius
61 +  double shellRadius; // nanoparticle shell radius (unused)
62 +  double latticeSpacing; // lattice spacing for lattice in builder
63 +  double vacancyRadius;  // Radius surrounding the core-shell interface to
64 +                         // build vacancies in.
65 +  double vacancyFraction; // Fraction of interface region to be converted to vacancies.
66  
38 extern void writeBass( char* out_prefix, bassWriteInfo &bwInfo );
67  
68 +  char lipidName[STR_LENGTH];
69 +  char waterName[STR_LENGTH];
70  
71 +  char coreName[STR_LENGTH];
72 +  char shellName[STR_LENGTH];
73 +
74 +  
75 +
76 + } bassInfo;
77 +
78 +
79 + extern void writeBass( void );
80 +
81 + extern bassInfo bsInfo;
82 +
83   #endif // __sysbuild_h__

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines