ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
sccs_moments.h
Go to the documentation of this file.
1#ifndef SCCS_MOMENTS_H
2#define SCCS_MOMENTS_H
3
5
6#include <vector>
7
8namespace ModulePW
9{
10class PW_Basis;
11}
12
13namespace ModuleSccs
14{
15// Moments of a local grid charge about the common origin of positions,
16// reduced over the PW pool, so every rank holds the same values.
17elecstate::ChargeMoments pool_moments(
18 const std::vector<double> &charge, const std::vector<ModuleBase::Vector3<double>> &positions,
19 const ModulePW::PW_Basis &basis);
20} // namespace ModuleSccs
21
22#endif
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Definition pw_op.cpp:3
Definition sccs_fixed_src.h:11
elecstate::ChargeMoments pool_moments(const std::vector< double > &charge, const std::vector< ModuleBase::Vector3< double > > &positions, const ModulePW::PW_Basis &basis)
Definition sccs_moments.cpp:8