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

Comparing trunk/src/applications/staticProps/StaticProps.cpp (file contents):
Revision 2049 by gezelter, Tue Jan 6 21:44:10 2015 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 137 | Line 137 | int main(int argc, char* argv[]){
137  
138    if (args_info.sele3_given) sele3 = args_info.sele3_arg;
139  
140 <  bool batchMode;
140 >  bool batchMode(false);
141    if (args_info.scd_given){
142      if (args_info.sele1_given &&
143          args_info.sele2_given && args_info.sele3_given) {
# Line 169 | Line 169 | int main(int argc, char* argv[]){
169    SimInfo* info = creator.createSim(dumpFileName);
170  
171    RealType maxLen;
172 <  RealType zmaxLen;
172 >  RealType zmaxLen(0.0);
173    if (args_info.length_given) {
174      maxLen = args_info.length_arg;
175      if (args_info.zlength_given){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines