forked from e-eight/basis_func
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathho.h
34 lines (26 loc) · 1.01 KB
/
ho.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
ho.h
Computes all the radial harmonic oscillator wave functions up to a given radial
quantum number.
Ported from Kyle Wendt's Python code.
Language: C++11
Soham Pal
Iowa State University
*******************************************************************************/
#ifndef HO_H_
#define HO_H_
#include <Eigen/Dense>
#include <vector>
#include "basis_func.h"
namespace basis_func {
namespace ho {
void WaveFunctionsUptoMaxN(Eigen::ArrayXXd& vals, const Eigen::ArrayXd& pts,
const std::size_t& max_n, const std::size_t& l,
const double& length, const Space& space);
void WaveFunctionsUptoMaxL(std::vector<Eigen::ArrayXXd>& wfs,
const Eigen::ArrayXd& pts, const std::size_t& max_n,
const std::size_t& max_l, const double& length,
const Space& space);
} // namespace ho
} // namespace basis_func
#endif