ERKALE
ERKALE - DFT from Hel
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Friends
Pages
src
gaunt.h
1
/*
2
* This source code is part of
3
*
4
* E R K A L E
5
* -
6
* HF/DFT from Hel
7
*
8
* Written by Susi Lehtola, 2010-2011
9
* Copyright (c) 2010-2011, Susi Lehtola
10
*
11
* This program is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public License
13
* as published by the Free Software Foundation; either version 2
14
* of the License, or (at your option) any later version.
15
*/
16
17
18
#ifndef ERKALE_GAUNT
19
#define ERKALE_GAUNT
20
21
#include "global.h"
22
#include <armadillo>
23
28
double
gaunt_coefficient(
int
L,
int
M,
int
l,
int
m,
int
lp,
int
mp);
29
31
class
Gaunt
{
33
arma::cube
table
;
34
public
:
36
Gaunt
();
38
Gaunt
(
int
Lmax,
int
lmax,
int
lpmax);
40
~Gaunt
();
41
43
double
coeff
(
int
L,
int
M,
int
l,
int
m,
int
lp,
int
mp)
const
;
44
};
45
46
47
#endif
Gaunt::coeff
double coeff(int L, int M, int l, int m, int lp, int mp) const
Get Gaunt coefficient.
Definition:
gaunt.cpp:63
Gaunt::table
arma::cube table
Table of coefficients.
Definition:
gaunt.h:33
Gaunt::Gaunt
Gaunt()
Dummy constructor.
Definition:
gaunt.cpp:41
Gaunt
Table of Gaunt coefficients.
Definition:
gaunt.h:31
Gaunt::~Gaunt
~Gaunt()
Destructor.
Definition:
gaunt.cpp:60
Generated on Sat Nov 26 2016 21:21:52 for ERKALE by
1.8.5