DFT-EFE
 
Loading...
Searching...
No Matches
PointChargePotentialFunction.h
Go to the documentation of this file.
1#ifndef dftefePointChargePotentialFunction_h
2#define dftefePointChargePotentialFunction_h
3
5#include "MathConstants.h"
6namespace dftefe
7{
8 namespace utils
9 {
11 {
12 public:
14 const std::vector<utils::Point> &atomCoordinates,
15 const std::vector<double> & atomCharges);
16
17 PointChargePotentialFunction(const utils::Point &atomCoordinates,
18 const double atomCharges);
19
20 double
21 operator()(const utils::Point &point) const override;
22 std::vector<double>
23 operator()(const std::vector<utils::Point> &points) const override;
24
25 private:
26 std::vector<utils::Point> d_atomCoordinates;
27 std::vector<double> d_z;
28 };
29
30 } // namespace utils
31} // namespace dftefe
32#endif // dftefePointChargePotentialFunction_h
Definition: Function.h:10
Definition: PointChargePotentialFunction.h:11
std::vector< double > d_z
Definition: PointChargePotentialFunction.h:27
std::vector< utils::Point > d_atomCoordinates
Definition: PointChargePotentialFunction.h:26
double operator()(const utils::Point &point) const override
Definition: PointChargePotentialFunction.cpp:24
Definition: PointImpl.h:13
dealii includes
Definition: AtomFieldDataSpherical.cpp:31