-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpdf2d.h
More file actions
43 lines (28 loc) · 740 Bytes
/
pdf2d.h
File metadata and controls
43 lines (28 loc) · 740 Bytes
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
#ifndef PDF2D_H
#define PDF2D_H
#include "cell.h"
class PDF2d
{
public:
PDF2d(){};
~PDF2d(){};
void Routine();
private:
// calculate the pair distribution function.
void cal();
// calculate the paris under periodic boudary conditions.
void periodic_pairs( const Cell &cell, double * gr, const int &option);
// calculate the pairs for each (i+1)dr.
void pairs( const Cell &cel, double *gr);
// useless
//void static_structure_factor( const Cell &cel, const double &rho_ion, const double *gr, double *sf) const;
private:
double dr; // delta r
double rcut; // radius cutoff
int nmesh; // number of mesh points.
int natom_per_layer; // mohan add 2015-05-29
// useless.
//double dg;
//int ng;
};
#endif