ERKALE
ERKALE - DFT from Hel
 All Classes Functions Variables Friends Pages
spherical_harmonics.h
1 /*
2  * This source code is part of
3  *
4  * E R K A L E
5  * -
6  * 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 
19 #ifndef ERKALE_SPHHARM
20 #define ERKALE_SPHHARM
21 
22 #include <complex>
23 #include <vector>
24 
26 std::complex<double> spherical_harmonics(int l, int m, double cth, double phi);
27 
29 double solid_harmonics(int l, int m, double cth, double phi);
30 
32 std::vector< std::complex<double> > cplx_Ylm_coeff(int l, int m);
33 
34 #endif