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

Comparing trunk/OOPSE-4/src/applications/staticProps/StaticProps.cpp (file contents):
Revision 2257 by tim, Mon Jun 13 18:25:30 2005 UTC vs.
Revision 2539 by tim, Mon Jan 9 22:14:32 2006 UTC

# Line 58 | Line 58
58   #include "applications/staticProps/P2OrderParameter.hpp"
59   #include "applications/staticProps/SCDOrderParameter.hpp"
60   #include "applications/staticProps/DensityPlot.hpp"
61 + #include "applications/staticProps/RhoZ.hpp"
62  
63   using namespace oopse;
64  
# Line 106 | Line 107 | int main(int argc, char* argv[]){
107        sele2 = sele2Env;            
108      } else if (args_info.density_given) {
109        sele2 = "select all";
110 <    } else if(!args_info.scd_given && !args_info.density_given)  {
110 >    } else if(!args_info.scd_given && !args_info.density_given && !args_info.slab_density_given)  {
111        sprintf( painCave.errMsg,
112                 "neither --sele2 option nor $OOPSE_SELE2 is set");
113        painCave.severity = OOPSE_ERROR;
# Line 183 | Line 184 | int main(int argc, char* argv[]){
184        }
185    }else if (args_info.density_given) {
186        analyser= new DensityPlot(info, dumpFileName, sele1, sele2, maxLen, args_info.nrbins_arg);  
187 +  } else if (args_info.slab_density_given) {
188 +      Mat3x3d hmat = info->getSnapshotManager()->getCurrentSnapshot()->getHmat();
189 +      analyser = new RhoZ(info, dumpFileName, sele1, hmat(2, 2), args_info.nrbins_arg);
190    }
191      
192    if (args_info.output_given) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines