v2DM-DOCI
1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Tools.h
Go to the documentation of this file.
1
/*
2
* @BEGIN LICENSE
3
*
4
* Copyright (C) 2014-2015 Ward Poelmans
5
*
6
* This file is part of v2DM-DOCI.
7
*
8
* v2DM-DOCI is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* Foobar is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with Foobar. If not, see <http://www.gnu.org/licenses/>.
20
*
21
* @END LICENSE
22
*/
23
24
#ifndef TOOLS_H
25
#define TOOLS_H
26
27
#include <string>
28
29
namespace
CheMPS2
{
class
Hamiltonian; }
30
31
namespace
doci2DM
32
{
33
class
TPM;
34
35
class
Tools
36
{
37
public
:
38
static
int
getspDimension
(std::string filename);
39
40
static
int
getNumberOfParticles
(std::string filename);
41
42
static
double
getNuclearRepulEnergy
(std::string filename);
43
44
static
void
scan_all
(
const
TPM
&rdm,
const
CheMPS2::Hamiltonian
&ham);
45
46
static
void
scan_all_bp
(
const
TPM
&rdm,
const
CheMPS2::Hamiltonian
&ham);
47
};
48
49
}
50
51
#endif
/* TOOLS_H */
52
53
/* vim: set ts=3 sw=3 expandtab :*/
doci2DM::TPM
Definition:
TPM.h:43
doci2DM::Tools::scan_all
static void scan_all(const TPM &rdm, const CheMPS2::Hamiltonian &ham)
Definition:
Tools.cpp:107
CheMPS2
Definition:
FourIndex.h:25
doci2DM::Tools
Definition:
Tools.h:35
CheMPS2::Hamiltonian
Definition:
Hamiltonian.h:56
doci2DM::Tools::getNumberOfParticles
static int getNumberOfParticles(std::string filename)
Definition:
Tools.cpp:58
doci2DM::Tools::getspDimension
static int getspDimension(std::string filename)
Definition:
Tools.cpp:34
doci2DM::Tools::scan_all_bp
static void scan_all_bp(const TPM &rdm, const CheMPS2::Hamiltonian &ham)
Definition:
Tools.cpp:160
doci2DM
Definition:
BlockStructure.cpp:205
doci2DM::Tools::getNuclearRepulEnergy
static double getNuclearRepulEnergy(std::string filename)
Definition:
Tools.cpp:82
include
Tools.h
Generated by
1.8.9.1