DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
AtomCenteredSphericalFunctionBessel.h
Go to the documentation of this file.
1// ---------------------------------------------------------------------
2//
3// Copyright (c) 2017-2025 The Regents of the University of Michigan and DFT-FE
4// authors.
5//
6// This file is part of the DFT-FE code.
7//
8// The DFT-FE code is free software; you can use it, redistribute
9// it, and/or modify it under the terms of the GNU Lesser General
10// Public License as published by the Free Software Foundation; either
11// version 2.1 of the License, or (at your option) any later version.
12// The full text of the license can be found in the file LICENSE at
13// the top level of the DFT-FE distribution.
14//
15// ---------------------------------------------------------------------
16//
17// @author Vishal Subramanian, Kartick Ramakrishnan, Sambit Das
18//
19
20#ifndef DFTFE_ATOMCENTEREDSPHERICALFUNCTIONBESSEL_H
21#define DFTFE_ATOMCENTEREDSPHERICALFUNCTIONBESSEL_H
22
24
25#include <boost/math/quadrature/gauss_kronrod.hpp>
26#include <dftUtils.h>
27#include <vector>
28#include <cmath>
29
30namespace dftfe
31{
34 {
35 public:
36 /**
37 * @brief Creates the Bessel function based on the 2 parameters
38 * @param[in] RcParameter coefficent for the bessel function
39 * @param[in] RmaxParameter the maximum R afterwhich the function returns 0.
40 */
42 double RmaxParameter,
43 unsigned int lParameter);
44
45 double
46 getRadialValue(double r) const override;
47
48 unsigned int
50
51 double
52 getrMinVal() const;
53
54 std::vector<double>
55 getDerivativeValue(double r) const override;
56
57 private:
58 double d_rMinVal;
60 double d_Rc;
61 };
62
63} // end of namespace dftfe
64
65#endif // DFTFE_ATOMCENTEREDSPHERICALFUNCTIONBESSEL_H
Definition AtomCenteredSphericalFunctionBase.h:28
std::vector< double > getDerivativeValue(double r) const override
Computes the Radial Value, Radial-deriative and Radial-second derivative of the Function at distance ...
AtomCenteredSphericalFunctionBessel(double RcParameter, double RmaxParameter, unsigned int lParameter)
Creates the Bessel function based on the 2 parameters.
double d_Rc
Definition AtomCenteredSphericalFunctionBessel.h:60
double d_rMinVal
Definition AtomCenteredSphericalFunctionBessel.h:58
double d_NormalizationConstant
Definition AtomCenteredSphericalFunctionBessel.h:59
double getRadialValue(double r) const override
Computes the Radial Value of the Function at distance r.
Definition pseudoPotentialToDftfeConverter.cc:34