-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphysics.h
executable file
·48 lines (46 loc) · 1.37 KB
/
physics.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#ifndef PHYSICS_H
#define PHYSICS_H
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
class physics
{
public:
int n;
int iteration;
double alpha;
double a ; // // Область локалізації (m)
double h;
double *E_for_table;
double E;
double m; //кг
double q; //eV
double e; //eV
double xi; // eV коефіцієнт електронного споріднення матеріалу
double field; //Напруженість поля (B/cm)
double epsin_low; //діелектрична проникливість на низьких частотах
double epsin_high ; //діелектрична проникливість на високих частотах
double k; //eV
double T;
double nq;
int teta;
double *rez;
physics *p;
double hw;// eV енергія фонона
public:
physics();
void setValue() const;
void getValue() const;
void energy();
int NQ();
double kq (double E);
double f_lo_minus (double E);
double f_lo_plus (double E);
double lambda(double E);
double fl (double r );
double f2 (double r);
double simpson1 (double a, double b);
double simpson2 (double a, double b);
double simpson (double a, double b,double (physics::*pointer)(double));
};
#endif // PHYSICS_H