ALPS MPS Codes
Reference documentation.
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
mps_evolve
main.cpp
Go to the documentation of this file.
1
/*****************************************************************************
2
*
3
* ALPS MPS DMRG Project
4
*
5
* Copyright (C) 2013 Institute for Theoretical Physics, ETH Zurich
6
* 2013-2013 by Michele Dolfi <dolfim@phys.ethz.ch>
7
*
8
* This software is part of the ALPS Applications, published under the ALPS
9
* Application License; you can use, redistribute it and/or modify it under
10
* the terms of the license, either version 1 or (at your option) any later
11
* version.
12
*
13
* You should have received a copy of the ALPS Application License along with
14
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
15
* available from http://alps.comp-phys.org/.
16
*
17
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
* DEALINGS IN THE SOFTWARE.
24
*
25
*****************************************************************************/
26
27
#include "
libpscan/scheduler.hpp
"
28
29
#include <alps/utility/copyright.hpp>
30
#include <iostream>
31
32
#include "
dmrg/version.h
"
33
34
int
main
(
int
argc,
char
** argv)
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
}
59
Scheduler
Definition:
scheduler.hpp:44
Options
Definition:
options.hpp:40
Scheduler::run
void run()
Definition:
scheduler.cpp:156
scheduler.hpp
parameter scans scheduler
Options::valid
bool valid
Definition:
options.hpp:46
DMRG_VERSION_STRING
#define DMRG_VERSION_STRING
Definition:
version.h:35
version.h
main
int main(int argc, char **argv)
Definition:
main.cpp:34
Generated on Thu Aug 21 2014 11:18:55 for ALPS MPS Codes by
1.8.7