ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
sccs_cav_deriv.h
Go to the documentation of this file.
1#ifndef SCCS_CAV_DERIV_H
2#define SCCS_CAV_DERIV_H
3
5
6#include <vector>
7
8namespace ModulePW
9{
10class PW_Basis;
11}
12
13namespace ModuleSccs
14{
15struct CavityParameters;
16struct SccsResponse;
17
19{
20 std::vector<double> coefficient;
21 std::vector<double> filter;
22 std::vector<ModuleBase::Vector3<double>> gradient;
23};
24
25// Collective over the PW pool. Periodic cells use density chain derivatives;
26// open boundaries differentiate solute on the FFT grid. With the solvent-aware
27// filling (positive cavity.solvent_aware.solvent_radius, with probe_kernel the
28// sa_probe_kernel on the local G vectors), periodic cells carry the chain through the
29// filling; open boundaries differentiate s_sa on the filtered grid with lowpass
30// and otherwise apply the analytic filling to the FFT derivatives of the local s.
32 const std::vector<double> &density,
33 const CavityParameters &cavity,
34 const std::vector<double> &probe_kernel,
35 const ModulePW::PW_Basis &basis,
36 double tpiba,
37 bool open_boundary,
38 SccsResponse &response,
39 CavityDerivatives &derivatives);
40} // namespace ModuleSccs
41
42#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
void make_cav_derivs(const std::vector< double > &density, const CavityParameters &cavity, const std::vector< double > &probe_kernel, const ModulePW::PW_Basis &basis, double tpiba, bool open_boundary, SccsResponse &response, CavityDerivatives &derivatives)
Definition sccs_cav_deriv.cpp:187
Definition sccs_cav_deriv.h:19
std::vector< double > filter
Definition sccs_cav_deriv.h:21
std::vector< ModuleBase::Vector3< double > > gradient
Definition sccs_cav_deriv.h:22
std::vector< double > coefficient
Definition sccs_cav_deriv.h:20
Definition sccs_cavity.h:20
Definition sccs_response.h:32