MPQC
3.0.0-alpha
world.h
1
//
2
// world.h
3
//
4
// Copyright (C) 2014 Edward Valeev
5
//
6
// Author: Edward Valeev <evaleev@vt.edu>
7
// Maintainer: EV
8
//
9
// This file is part of the SC Toolkit.
10
//
11
// The SC Toolkit is free software; you can redistribute it and/or modify
12
// it under the terms of the GNU Library General Public License as published by
13
// the Free Software Foundation; either version 2, or (at your option)
14
// any later version.
15
//
16
// The SC Toolkit is distributed in the hope that it will be useful,
17
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
// GNU Library General Public License for more details.
20
//
21
// You should have received a copy of the GNU Library General Public License
22
// along with the SC Toolkit; see the file COPYING.LIB. If not, write to
23
// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24
//
25
// The U.S. Government is granted a limited license as per AL 91-7.
26
//
27
28
#ifdef __GNUG__
29
#pragma interface
30
#endif
31
32
#ifndef _mpqc_src_lib_util_madness_world_h
33
#define _mpqc_src_lib_util_madness_world_h
34
35
#include <madness/world/MADworld.h>
36
#include <util/class/class.h>
37
#include <util/keyval/keyval.h>
38
39
#ifdef MADNESS_HAS_ELEMENTAL
40
#include <elemental.hpp>
41
#endif // MADNESS_HAS_ELEMENTAL
42
43
namespace
mpqc
{
44
46
class
World
:
virtual
public
sc::DescribedClass
{
47
public
:
48
World
();
62
World
(
const
sc::Ref<sc::KeyVal>
& kv);
63
~
World
();
64
65
const
std::string& key()
const
{
return
key_; }
66
const
madness::World* madworld()
const
{
return
world_; }
67
madness::World* madworld() {
return
world_; }
68
69
70
private
:
71
static
sc::ClassDesc
class_desc_;
72
73
std::string key_;
74
madness::World* world_;
75
76
77
};
78
79
}
// end of namespace sc
80
81
#endif // end of header guard
82
83
84
// Local Variables:
85
// mode: c++
86
// c-file-style: "CLJ-CONDENSED"
87
// End:
mpqc
Contains new MPQC code since version 3.
Definition:
integralenginepool.hpp:37
sc::Ref< sc::KeyVal >
mpqc::World
World is a wrapper around madness::World.
Definition:
world.h:46
sc::ClassDesc
This class is used to contain information about classes.
Definition:
class.h:147
sc::DescribedClass
Classes which need runtime information about themselves and their relationship to other classes can v...
Definition:
class.h:233
Generated at Sun Jan 26 2020 23:24:01 for
MPQC
3.0.0-alpha using the documentation package
Doxygen
1.8.16.