ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
charge_moments.h
Go to the documentation of this file.
1#ifndef CHARGE_MOMENTS_H
2#define CHARGE_MOMENTS_H
3
5
6namespace elecstate
7{
8
16
20ChargeMoments charge_moments(const double* charges,
21 const ModuleBase::Vector3<double>* relative_positions,
22 int count,
23 double weight);
24
26
27} // namespace elecstate
28
29#endif
3 elements vector
Definition vector3.h:21
Definition read_atoms_hlp_test.cpp:13
ChargeMoments add_charge_moments(const ChargeMoments &left, const ChargeMoments &right)
Definition charge_moments.cpp:23
ChargeMoments charge_moments(const double *charges, const ModuleBase::Vector3< double > *relative_positions, const int count, const double weight)
Definition charge_moments.cpp:6
Moments about one common origin. Charges carry their physical sign.
Definition charge_moments.h:11
double charge
Definition charge_moments.h:12
double second_moment
Trace of the second moment, in e Bohr^2.
Definition charge_moments.h:14
ModuleBase::Vector3< double > dipole
Definition charge_moments.h:13