1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#include <math.h>
#include <complex.h>
using namespace std;
class vwwp
{
public:
// class constructor
vwwp(int en);
// class destructor
~vwwp();
std::complex<double> getvwwp(double w, double wp);
private:
double n, pi, kf, alpha, beta, ab, ry, mdme, epsinf, kbz, a0;
std::complex<double> wloqa, wloqb, wtoqa, wtoqb, damp, dwdw,ktoc, kloc;
std::complex<double> integrate(double a, Float b, int steps);
double function(double u);
double einsq();
};
|