ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
partition.h
Go to the documentation of this file.
1#ifndef GRID_PARTITION_H
2#define GRID_PARTITION_H
3
4namespace Grid {
5namespace Partition {
6
7enum class Type {
8 Becke,
10};
11
12extern const double stratmann_a;
13
38double w_becke(
39 int nR0,
40 const double* drR,
41 const double* dRR,
42 int nR,
43 const int* iR,
44 int c
45);
46
47// Becke's cell function (iterated polynomial)
48double s_becke(double mu);
49
50
68double w_stratmann(
69 int nR0,
70 const double* drR,
71 const double* dRR,
72 const double* drR_thr,
73 int nR,
74 int* iR,
75 int c
76);
77
78// Stratmann's piecewise cell function
79double s_stratmann(double mu);
80
81} // end of namespace Partition
82} // end of namespace Grid
83
84#endif
Type
Definition partition.h:7
double s_becke(double mu)
Definition partition.cpp:40
double s_stratmann(double mu)
Definition partition.cpp:118
double w_stratmann(int nR0, const double *drR, const double *dRR, const double *drR_thr, int nR, int *iR, int c)
Becke's partition weight with Stratmann's scheme.
Definition partition.cpp:56
const double stratmann_a
Definition partition.cpp:14
double w_becke(int nR0, const double *drR, const double *dRR, int nR, const int *iR, int c)
Becke's partition weight.
Definition partition.cpp:16
Definition batch.h:6