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

Comparing trunk/src/applications/openmd/openmd.cpp (file contents):
Revision 1969 by gezelter, Wed Feb 26 14:14:50 2014 UTC vs.
Revision 1985 by gezelter, Tue Apr 15 21:26:45 2014 UTC

# Line 50 | Line 50
50   #include <locale>
51   #include "utils/simError.h"
52   #include "utils/CaseConversion.hpp"
53 + #include "utils/Revision.hpp"
54   #include "brains/Register.hpp"
55   #include "brains/SimCreator.hpp"
56   #include "brains/SimInfo.hpp"
# Line 78 | Line 79 | int main(int argc, char* argv[]){
79    initSimError();           // the error handler
80    //srand48( 1337 );          // the random number generator.
81  
82 <  std::string svnrev;
82 >  std::string svnrev(g_REVISION, strnlen(g_REVISION, 20));
83    //convert a macro from compiler to a string in c++
84 <  STR_DEFINE(svnrev, SVN_REV );
84 >  //STR_DEFINE(svnrev, SVN_REV );
85  
86    std::string revision;
87  
# Line 99 | Line 100 | int main(int argc, char* argv[]){
100        "  |   / __ \\____  ___  ____   /  |/  // __ \\  The Open Molecular Dynamics    |\n"<<
101        "  |  / / / / __ \\/ _ \\/ __ \\ / /|_/ // / / /  Engine (formerly OOPSE).       |\n"<<
102        "  | / /_/ / /_/ /  __/ / / // /  / // /_/ /                                  |\n"<<
103 <      "  | \\____/ .___/\\___/_/ /_//_/  /_//_____/    Copyright 2004-2013 by the     |\n"<<
103 >      "  | \\____/ .___/\\___/_/ /_//_/  /_//_____/    Copyright 2004-2014 by the     |\n"<<
104        "  |     /_/                                   University of Notre Dame.      |\n"<<
105        "  |                                                                          |\n"<<
106        "  |        version " <<

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines