MPQC
3.0.0-alpha
symmint.h
1
//
2
// symmint.h
3
//
4
// Copyright (C) 1996 Limit Point Systems, Inc.
5
//
6
// Author: Edward Seidl <seidl@janed.com>
7
// Maintainer: LPS
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
#ifndef _chemistry_qc_integral_symmint_h
29
#define _chemistry_qc_integral_symmint_h
30
31
#include <util/state/state.h>
32
#include <chemistry/qc/basis/obint.h>
33
#include <chemistry/qc/basis/tbint.h>
34
#include <chemistry/qc/basis/petite.h>
35
36
namespace
sc
{
37
38
// //////////////////////////////////////////////////////////////////////////
39
41
class
SymmOneBodyIntIter
:
public
OneBodyIntIter
{
42
protected
:
43
Ref<PetiteList>
pl;
44
45
public
:
46
SymmOneBodyIntIter
(
const
Ref<OneBodyInt>
&,
const
Ref<PetiteList>
&);
47
~
SymmOneBodyIntIter
();
48
49
void
start(
int
ist=0,
int
jst=0,
int
ien=0,
int
jen=0);
50
void
next();
51
52
double
scale()
const
;
53
54
bool
cloneable()
const
;
55
Ref<OneBodyIntIter>
clone();
56
};
57
59
class
SymmTwoBodyIntIter
:
public
TwoBodyIntIter
{
60
protected
:
61
Ref<PetiteList>
pl;
62
63
public
:
64
SymmTwoBodyIntIter
(
const
Ref<TwoBodyInt>
&,
const
Ref<PetiteList>
&);
65
~
SymmTwoBodyIntIter
();
66
67
void
start();
68
void
next();
69
70
double
scale()
const
;
71
};
72
74
class
SymmTwoBodyTwoCenterIntIter
:
public
TwoBodyTwoCenterIntIter
{
75
protected
:
76
Ref<PetiteList>
pl;
77
78
public
:
79
SymmTwoBodyTwoCenterIntIter
(
const
Ref<TwoBodyTwoCenterInt>
&,
const
Ref<PetiteList>
&);
80
~
SymmTwoBodyTwoCenterIntIter
();
81
82
void
start(
int
ist=0,
int
jst=0,
int
ien=0,
int
jen=0);
83
void
next();
84
85
double
scale()
const
;
86
87
bool
cloneable()
const
;
88
Ref<TwoBodyTwoCenterIntIter>
clone();
89
};
90
91
}
92
93
#endif
94
95
// Local Variables:
96
// mode: c++
97
// c-file-style: "ETS"
98
// End:
sc::Ref
A template class that maintains references counts.
Definition:
ref.h:361
sc::TwoBodyIntIter
Definition:
tbint.h:465
sc::SymmOneBodyIntIter
Iterator over symmetry unique shell pairs.
Definition:
symmint.h:41
sc::TwoBodyTwoCenterIntIter
Definition:
nbint.h:237
sc::SymmTwoBodyTwoCenterIntIter
Iterator over symmetry unique shell pairs.
Definition:
symmint.h:74
sc::OneBodyIntIter
Definition:
obint.h:250
sc::SymmTwoBodyIntIter
Iterator over symmetry unique shell quartets.
Definition:
symmint.h:59
sc
Contains all MPQC code up to version 3.
Definition:
mpqcin.h:14
Generated at Sun Jan 26 2020 23:23:57 for
MPQC
3.0.0-alpha using the documentation package
Doxygen
1.8.16.