26#ifndef dftefeSphericalDataNumerical_h
27#define dftefeSphericalDataNumerical_h
55 template <dftefe::utils::MemorySpace memorySpace>
68 double polarAngleTolerance,
69 double cutoffTolerance,
70 double radiusTolerance);
73 getValue(
const double *point,
const double *origin)
const;
88 const std::vector<int> qNumbers,
89 const std::vector<double> radialPoints,
90 const std::vector<double> radialValues,
92 const double smoothness,
105 getValue(
const std::vector<utils::Point> &point,
127#ifdef DFTEFE_WITH_DEVICE
131 const double * points,
132 const double * origin,
137 getGradientValueDevice(
139 const double * points,
140 const double * origin,
145 getHessianValueDevice(
147 const double * points,
148 const double * origin,
155 const double * points,
156 const double * origin,
157 double * out)
override;
161 const double * points,
162 const double * origin,
163 double * out)
override;
167 const double * points,
168 const double * origin,
169 double * out)
override;
176 const std::vector<double> &theta,
177 const std::vector<double> &phi)
override;
182 std::vector<std::vector<double>>
184 const std::vector<double> &theta,
185 const std::vector<double> &phi)
override;
200 template <dftefe::utils::MemorySpace memorySpace>
#define DFTEFE_HOST_DEVICE_FUNC
Definition: DeviceKernelLauncherHelpers.h:306
static const double POL_ANG_TOL
Setting all the SphericalDataDefaults.
Definition: Defaults.h:43
static const size_type DEFAULT_DIM
Definition: Defaults.h:60
static const double RADIUS_TOL
Definition: Defaults.h:55
static const double CUTOFF_TOL
Definition: Defaults.h:49
Definition: SphericalDataNumerical.h:57
int d_l
Definition: SphericalDataNumerical.h:82
int d_mEff
Definition: SphericalDataNumerical.h:82
double d_cutoffTolerance
Definition: SphericalDataNumerical.h:84
double d_smoothness
Definition: SphericalDataNumerical.h:83
Func()
Definition: SphericalDataNumericalKernels.h:49
double d_radiusTolerance
Definition: SphericalDataNumerical.h:84
double d_polarAngleTolerance
Definition: SphericalDataNumerical.h:83
double d_cutoff
Definition: SphericalDataNumerical.h:83
DFTEFE_HOST_DEVICE_FUNC double getValue(const double *point, const double *origin) const
Definition: SphericalDataNumericalKernels.h:98
double d_constant
Definition: SphericalDataNumerical.h:83
utils::Spline::Func< memorySpace > d_radialSpline
Definition: SphericalDataNumerical.h:81
DFTEFE_HOST_DEVICE_FUNC void getGradientValue(const double *point, const double *origin, double *grad) const
Definition: SphericalDataNumericalKernels.h:129
int d_m
Definition: SphericalDataNumerical.h:82
Definition: SphericalDataNumerical.h:47
std::shared_ptr< const utils::Spline > d_spline
Definition: SphericalDataNumerical.h:210
const SphericalHarmonicFunctions & d_sphericalHarmonicFunc
Definition: SphericalDataNumerical.h:216
std::vector< int > d_qNumbers
Definition: SphericalDataNumerical.h:205
std::vector< double > d_radialPoints
Definition: SphericalDataNumerical.h:206
std::vector< double > getAngularValue(const std::vector< double > &r, const std::vector< double > &theta, const std::vector< double > &phi) override
Definition: SphericalDataNumerical.cpp:534
std::vector< double > getHessianValue(const std::vector< utils::Point > &point, const utils::Point &origin) override
Definition: SphericalDataNumerical.cpp:410
std::vector< double > getRadialValue(const std::vector< double > &r) override
Definition: SphericalDataNumerical.cpp:518
size_type d_dim
Definition: SphericalDataNumerical.h:214
std::vector< int > getQNumbers() const override
Definition: SphericalDataNumerical.cpp:685
double getCutoff() const override
Definition: SphericalDataNumerical.cpp:691
double d_smoothness
Definition: SphericalDataNumerical.h:209
double d_cutoffTolerance
Definition: SphericalDataNumerical.h:212
~SphericalDataNumerical()=default
double d_radiusTolerance
Definition: SphericalDataNumerical.h:213
std::vector< double > getRadialDerivative(const std::vector< double > &r) override
Definition: SphericalDataNumerical.cpp:554
std::vector< double > getValue(const std::vector< utils::Point > &point, const utils::Point &origin) override
Definition: SphericalDataNumerical.cpp:359
std::vector< std::vector< double > > getAngularDerivative(const std::vector< double > &r, const std::vector< double > &theta, const std::vector< double > &phi) override
Definition: SphericalDataNumerical.cpp:582
double getSmoothness() const override
Definition: SphericalDataNumerical.cpp:697
double d_cutoff
Definition: SphericalDataNumerical.h:208
void initSpline()
Definition: SphericalDataNumerical.cpp:333
Func< memorySpace > getFunc() const
double d_polarAngleTolerance
Definition: SphericalDataNumerical.h:211
std::vector< double > d_radialValues
Definition: SphericalDataNumerical.h:207
std::vector< double > getGradientValue(const std::vector< utils::Point > &point, const utils::Point &origin) override
Definition: SphericalDataNumerical.cpp:382
Definition: SphericalData.h:41
Definition: SphericalHarmonicFunctions.h:19
Definition: PointImpl.h:13
static cudaStream_t defaultStream
Definition: DeviceTypeConfig.cu.h:62
cudaStream_t deviceStream_t
Definition: DeviceTypeConfig.cu.h:27
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
std::uint64_t size_type
Definition: TypeConfig.h:9