ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
cal_test.h
Go to the documentation of this file.
1#ifndef CAL_TEST_H
2#define CAL_TEST_H
5
6namespace Cal_Test
7{
8 void test_memory(const int nat,
9 const int ntype,
10 const ModuleBase::Matrix3& GGT,
11 const ModulePW::PW_Basis* rhopw,
12 const ModulePW::PW_Basis_K* wfcpw,
13 const std::string chr_mixing_mode,
14 const int chr_mixing_ndim);
15
16 int cal_np(const ModuleBase::Matrix3& GGT,
17 const double &ggcut,
18 const int &n1,
19 const int &n2,
20 const int &n3);
21
22 void print_mem(const int &nproc);
23
24 extern double mporter;
25
26 // about charge density.
27 extern double mrho;
28 extern double mrho_save;
29 extern double mrho_core;
30
31 // about pulay mixing.
32 extern double mRrho;
33 extern double mdRrho;
34 extern double mdrho;
35 extern double mrho_save2;
36
37 // about potential on FFT grid.
38 extern double mvltot;
39 extern double mvr;
40 extern double mvrs;
41 extern double mvrs1;
42 extern double mvnew;
43
44 // about charge in g space.
45 extern double mrhog;
46 extern double mrhog_save;
47 extern double mrhog_core;
48
49 // about others.
50 extern double mhs;
51 extern double mwf;
52 extern double mnonzero;
53 extern double mspar_hsrho;
54
55 extern double mgvec;
56 extern double mig2fftw;
57 extern double mig2fftc;
58 extern double mgg;
59 extern double mig123;
60 extern double mstrucFac;
61 extern double meigts123;
62
63 extern double mtot;
64
65}
66#endif
3x3 matrix and related mathamatical operations
Definition matrix3.h:19
Special pw_basis class. It includes different k-points.
Definition pw_basis_k.h:57
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:56
Definition cal_test.h:7
double mvrs1
Definition cal_test.cpp:27
void print_mem(const int &nproc)
Definition cal_test.cpp:192
double mvrs
Definition cal_test.cpp:26
double mig2fftw
Definition cal_test.cpp:42
double mspar_hsrho
Definition cal_test.cpp:39
double mwf
Definition cal_test.cpp:37
double mvnew
Definition cal_test.cpp:28
double mdRrho
Definition cal_test.cpp:19
double mdrho
Definition cal_test.cpp:20
double mrho
Definition cal_test.cpp:13
double mhs
Definition cal_test.cpp:36
double mstrucFac
Definition cal_test.cpp:46
double mrho_save2
Definition cal_test.cpp:21
double mtot
Definition cal_test.cpp:49
double mrho_core
Definition cal_test.cpp:15
double mvltot
Definition cal_test.cpp:24
int cal_np(const ModuleBase::Matrix3 &GGT, const double &ggcut, const int &n1, const int &n2, const int &n3)
compute the number of plane waves
Definition cal_test.cpp:145
double mnonzero
Definition cal_test.cpp:38
double mRrho
Definition cal_test.cpp:18
double mgvec
Definition cal_test.cpp:41
double mig2fftc
Definition cal_test.cpp:43
void test_memory(const int nat, const int ntype, const ModuleBase::Matrix3 &GGT, const ModulePW::PW_Basis *rhopw, const ModulePW::PW_Basis_K *wfcpw, const std::string chr_mixing_mode, const int chr_mixing_ndim)
Definition cal_test.cpp:51
double mvr
Definition cal_test.cpp:25
double mrhog_save
Definition cal_test.cpp:32
double mrho_save
Definition cal_test.cpp:14
double mgg
Definition cal_test.cpp:44
double mporter
Definition cal_test.cpp:10
double mrhog_core
Definition cal_test.cpp:33
double meigts123
Definition cal_test.cpp:47
double mig123
Definition cal_test.cpp:45
double mrhog
Definition cal_test.cpp:31