ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
H_Ewald_pw.h
Go to the documentation of this file.
1#ifndef H_EWALD_PW_H
2#define H_EWALD_PW_H
3
10
12{
13 public:
14 H_Ewald_pw();
16
17 // compute the Ewald energy
18 static double compute_ewald(const UnitCell& cell,
19 const ModulePW::PW_Basis* rho_basis,
20 const ModuleBase::ComplexMatrix& strucFac);
21
22 public:
23 static void rgen(
25 const double &rmax,
26 int *irr,
27 const ModuleBase::Matrix3 &at,
28 const ModuleBase::Matrix3 &bg,
30 double *r2,
31 int &nrm
32 );
33
34 // the coefficient of ewald method
35 static double alpha;
36 static int mxr;
37
38};
39
40#endif //ewald energy
Definition H_Ewald_pw.h:12
~H_Ewald_pw()
Definition H_Ewald_pw.cpp:14
static void rgen(const ModuleBase::Vector3< double > &dtau, const double &rmax, int *irr, const ModuleBase::Matrix3 &at, const ModuleBase::Matrix3 &bg, ModuleBase::Vector3< double > *r, double *r2, int &nrm)
Definition H_Ewald_pw.cpp:285
static double compute_ewald(const UnitCell &cell, const ModulePW::PW_Basis *rho_basis, const ModuleBase::ComplexMatrix &strucFac)
Definition H_Ewald_pw.cpp:16
static int mxr
Definition H_Ewald_pw.h:36
static double alpha
Definition H_Ewald_pw.h:35
H_Ewald_pw()
Definition H_Ewald_pw.cpp:13
Definition complexmatrix.h:14
3x3 matrix and related mathamatical operations
Definition matrix3.h:19
3 elements vector
Definition vector3.h:22
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56
Definition unitcell.h:16