26#ifndef dftefeSphericalDataAnalytical_h
27#define dftefeSphericalDataAnalytical_h
51 const std::vector<int> qNumbers,
54 const double smoothness,
62 getValue(
const std::vector<utils::Point> &point,
89 const std::vector<double> &theta,
90 const std::vector<double> &phi)
override;
95 std::vector<std::vector<double>>
97 const std::vector<double> &theta,
98 const std::vector<double> &phi)
override;
111 const double * points,
112 const double * origin,
113 double * out)
override
116 false,
"getValue not implemented for SphericalDataAnalytical.");
121 const double * points,
122 const double * origin,
123 double * out)
override
127 "getGradientValue not implemented for SphericalDataAnalytical.");
132 const double * points,
133 const double * origin,
134 double * out)
override
138 "getHessianValue not implemented for SphericalDataAnalytical.");
141#ifdef DFTEFE_WITH_DEVICE
145 const double * points,
146 const double * origin,
151 "getValueDevice not implemented for "
152 "SphericalDataAnalytical.");
156 getGradientValueDevice(
158 const double * points,
159 const double * origin,
164 "getGradientValueDevice not implemented for "
165 "SphericalDataAnalytical.");
169 getHessianValueDevice(
171 const double * points,
172 const double * origin,
177 "getHessianValueDevice not implemented for "
178 "SphericalDataAnalytical.");
Definition: SphericalDataAnalytical.h:46
std::vector< std::vector< double > > getAngularDerivative(const std::vector< double > &r, const std::vector< double > &theta, const std::vector< double > &phi) override
Definition: SphericalDataAnalytical.cpp:212
double d_radiusTolerance
Definition: SphericalDataAnalytical.h:186
double getSmoothness() const override
Definition: SphericalDataAnalytical.cpp:239
size_type d_dim
Definition: SphericalDataAnalytical.h:187
std::vector< double > getAngularValue(const std::vector< double > &r, const std::vector< double > &theta, const std::vector< double > &phi) override
Definition: SphericalDataAnalytical.cpp:190
std::vector< double > getValue(const std::vector< utils::Point > &point, const utils::Point &origin) override
Definition: SphericalDataAnalytical.cpp:88
const utils::ScalarSpatialFunctionReal & d_func
Definition: SphericalDataAnalytical.h:192
std::vector< double > getGradientValue(const std::vector< utils::Point > &point, const utils::Point &origin) override
Definition: SphericalDataAnalytical.cpp:110
void getValue(const size_type numPoints, const double *points, const double *origin, double *out) override
Definition: SphericalDataAnalytical.h:110
double d_smoothness
Definition: SphericalDataAnalytical.h:189
double getCutoff() const override
Definition: SphericalDataAnalytical.cpp:233
std::vector< int > d_qNumbers
Definition: SphericalDataAnalytical.h:183
void getHessianValue(const size_type numPoints, const double *points, const double *origin, double *out) override
Definition: SphericalDataAnalytical.h:131
std::vector< double > getRadialDerivative(const std::vector< double > &r) override
Definition: SphericalDataAnalytical.cpp:202
double d_polarAngleTolerance
Definition: SphericalDataAnalytical.h:184
double d_cutoffTolerance
Definition: SphericalDataAnalytical.h:185
~SphericalDataAnalytical()=default
double d_cutoff
Definition: SphericalDataAnalytical.h:188
void getGradientValue(const size_type numPoints, const double *points, const double *origin, double *out) override
Definition: SphericalDataAnalytical.h:120
std::vector< int > getQNumbers() const override
Definition: SphericalDataAnalytical.cpp:227
std::vector< double > getRadialValue(const std::vector< double > &r) override
Definition: SphericalDataAnalytical.cpp:180
std::vector< double > getHessianValue(const std::vector< utils::Point > &point, const utils::Point &origin) override
Definition: SphericalDataAnalytical.cpp:122
const SphericalHarmonicFunctions & d_sphericalHarmonicFunc
Definition: SphericalDataAnalytical.h:191
static const double POL_ANG_TOL
Setting all the SphericalDataDefaults.
Definition: Defaults.h:43
static const size_type DEFAULT_DIM
Definition: Defaults.h:60
Definition: SphericalData.h:41
Definition: SphericalHarmonicFunctions.h:19
Definition: PointImpl.h:13
Abstract base for scalar functions of a spatial point.
Definition: ScalarSpatialFunction.h:23
static cudaStream_t defaultStream
Definition: DeviceTypeConfig.cu.h:62
cudaStream_t deviceStream_t
Definition: DeviceTypeConfig.cu.h:27
void throwException(bool condition, std::string msg)
Definition: Exceptions.cpp:56
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
std::uint64_t size_type
Definition: TypeConfig.h:9