ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/applications/staticProps/StaticProps.cpp
(Generate patch)

Comparing trunk/OOPSE-3.0/src/applications/staticProps/StaticProps.cpp (file contents):
Revision 2256 by tim, Fri May 27 21:11:24 2005 UTC vs.
Revision 2257 by tim, Mon Jun 13 18:25:30 2005 UTC

# Line 104 | Line 104 | int main(int argc, char* argv[]){
104      char* sele2Env = getenv("OOPSE_SELE2");
105      if (sele2Env) {
106        sele2 = sele2Env;            
107 +    } else if (args_info.density_given) {
108 +      sele2 = "select all";
109      } else if(!args_info.scd_given && !args_info.density_given)  {
110        sprintf( painCave.errMsg,
111                 "neither --sele2 option nor $OOPSE_SELE2 is set");
# Line 180 | Line 182 | int main(int argc, char* argv[]){
182            analyser  = new SCDOrderParameter(info, dumpFileName, sele1, sele2, sele3);
183        }
184    }else if (args_info.density_given) {
185 <      analyser= new DensityPlot(info, dumpFileName, sele1, maxLen, args_info.nrbins_arg);  
185 >      analyser= new DensityPlot(info, dumpFileName, sele1, sele2, maxLen, args_info.nrbins_arg);  
186    }
187      
188    if (args_info.output_given) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines