DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
AtomCenteredSphericalFunctionLocalPotentialSpline.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_ATOMCENTEREDSPHERICALFUNCTIONLOCALPOTENTIALSPLINE_H
21#define DFTFE_ATOMCENTEREDSPHERICALFUNCTIONLOCALPOTENTIALSPLINE_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 /**
44 * @brief Creates splines for radial-Local Potential from file by applying suitable BC on spline and determining the cutOff Radius
45 * @param[in] filename the location of file containing the data
46 * @param[in] atomAttribute the atomic number
47 * @param[in] truncationTol the minimum function value afterwhich the
48 * function is truncated.
49 * @param[in] maxAllowedTail Maximum distance before the function is
50 * evaluated as Z/r
51 */
53 std::string filename,
54 double atomAttribute,
55 double truncationTol = 1E-10,
56 double maxAllowedTail = 8.0001);
57 };
58
59} // end of namespace dftfe
60
61#endif // DFTFE_ATOMCENTEREDSPHERICALFUNCTIONLOCALPOTENTIALSPLINE_H
AtomCenteredSphericalFunctionLocalPotentialSpline(std::string filename, double atomAttribute, double truncationTol=1E-10, double maxAllowedTail=8.0001)
Creates splines for radial-Local Potential from file by applying suitable BC on spline and determinin...
Definition AtomCenteredSphericalFunctionSpline.h:41
Contains commonly used I/O file utils functions.
Definition pseudoPotentialToDftfeConverter.cc:34