ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
main.cpp File Reference
#include "libpscan/scheduler.hpp"
#include <alps/utility/copyright.hpp>
#include <iostream>
#include "dmrg/version.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 34 of file main.cpp.

35 {
36  try {
37  std::cout << "ALPS/MPS Time Evolution version " DMRG_VERSION_STRING " (2013-2014)\n"
38  << " Density Matrix Renormalization Group algorithm\n"
39  << " available from http://alps.comp-phys.org/\n"
40  << " copyright (c) 2013 Institute for Theoretical Physics, ETH Zurich\n"
41  << " copyright (c) 2010-2011 by Bela Bauer\n"
42  << " copyright (c) 2011-2013 by Michele Dolfi\n"
43  << " for details see the publication: \n"
44  << " M. Dolfi et al, in preparation\n"
45  << std::endl;
46  alps::print_copyright(std::cout);
47 
48  Options opt(argc,argv);
49  if (opt.valid) {
50  Scheduler pscan(opt);
51  pscan.run();
52  }
53  } catch (std::exception & e) {
54  std::cerr << "Exception thrown:" << std::endl;
55  std::cerr << e.what() << std::endl;
56  exit(1);
57  }
58 }
#define DMRG_VERSION_STRING
Definition: version.h:35