DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
AtomCenteredSphericalFunctionSpline.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_ATOMCENTEREDSPHERICALFUNCTIONSPLINE_H
21#define DFTFE_ATOMCENTEREDSPHERICALFUNCTIONSPLINE_H
22
24#include "string"
25#include <boost/math/quadrature/gauss_kronrod.hpp>
26#include <vector>
27#include <array>
28#include <cmath>
29#include <fstream>
30#include <iostream>
31#include <sstream>
32#include <fileReaders.h>
33#include <dftUtils.h>
34#include <interpolation.h>
35
36
37namespace dftfe
38{
41 {
42 public:
43 double
44 getRadialValue(double r) const override;
45
46 std::vector<double>
47 getDerivativeValue(double r) const override;
48
49 double
50 getrMinVal() const;
51
52 protected:
53 double d_rMin;
54
55 alglib::spline1dinterpolant d_radialSplineObject;
56 };
57
58} // end of namespace dftfe
59
60#endif // DFTFE_ATOMCENTEREDSPHERICALFUNCTIONSPLINE_H
Definition AtomCenteredSphericalFunctionBase.h:28
Definition AtomCenteredSphericalFunctionSpline.h:41
double getRadialValue(double r) const override
Computes the Radial Value of the Function at distance r.
std::vector< double > getDerivativeValue(double r) const override
Computes the Radial Value, Radial-deriative and Radial-second derivative of the Function at distance ...
alglib::spline1dinterpolant d_radialSplineObject
Definition AtomCenteredSphericalFunctionSpline.h:55
double d_rMin
Definition AtomCenteredSphericalFunctionSpline.h:53
Contains commonly used I/O file utils functions.
Definition pseudoPotentialToDftfeConverter.cc:34