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

Comparing trunk/OOPSE/utils/sysBuild.cpp (file contents):
Revision 502 by mmeineke, Tue Apr 15 21:47:54 2003 UTC vs.
Revision 536 by mmeineke, Fri May 16 14:28:27 2003 UTC

# Line 88 | Line 88 | int main( int argc, char* argv[]){
88              simError();
89              usage();
90            }
91 +
92            sysType = BILAYER;
93 +
94 +          i++;
95 +          if( i>=argc ){
96 +            sprintf( painCave.errMsg,
97 +                     "\n"
98 +                     "not enough arguments for bilayer\n");
99 +            painCave.isFatal = 0;
100 +            simError();
101 +            usage();
102 +          }      
103 +          strcpy( bsInfo.lipidName, argv[i] );
104 +          
105 +          i++;
106 +          if( i>=argc ){
107 +            sprintf( painCave.errMsg,
108 +                     "\n"
109 +                     "not enough arguments for bilayer\n");
110 +            painCave.isFatal = 0;
111 +            simError();
112 +            usage();
113 +          }      
114 +          strcpy( bsInfo.waterName, argv[i] );
115 +
116          }
117  
118          else{
# Line 470 | Line 494 | void usage(){
494                  "\n"
495                  "  long:\n"
496                  "  -----\n"
497 <                "   --bilayer       Tries to build a basic bilayer with the specified number\n"
498 <                "                     of lipids in the input bass file. The bilayer will be\n"
499 <                "                     surrounded by the number of solvent molecules given\n"
500 <                "                     in the bass file.\n"
501 <                "                      -note: combined with \"-r\" the simulation will start in\n"
502 <                "                             an FCC lattice with randomly assigned latice\n"
479 <                "                             sites for all atoms involved.\n"
497 >                "   --bilayer <lipid> <water>  Tries to build a basic bilayer with the specified number\n"
498 >                "                              of lipids in the input bass file. The bilayer will be\n"
499 >                "                              surrounded by the number of solvent molecules given\n"
500 >                "                              in the bass file.\n"
501 >                "                                -note: combined with \"-r\" the simulation will start\n"
502 >                "                                 the lipids randomly oriented in a sea of waters.\n"
503                  "\n"
504                  "\n",
505                  program_name);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines