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{ |
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); |