DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
AtomCenteredPseudoWavefunctionSpline.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_ATOMCENTEREDPSEUDOWAVEFUNCTIONSPLINE_H
21#define DFTFE_ATOMCENTEREDPSEUDOWAVEFUNCTIONSPLINE_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] l quantumNumber-l
47 * @param[in] cutoff the distance beyond which the radial function is cut
48 * off. If it is set to less than 1e-3 then truncationTol is considered,
49 * otherwise cutoff takes precedence.
50 * @param[in] truncationTol the minimum function value after which the
51 * function is truncated.
52 */
54 unsigned int l,
55 double cutoff,
56 double truncationTol = 1E-10);
57 };
58
59} // end of namespace dftfe
60
61#endif // DFTFE_ATOMCENTEREDPSEUDOWAVEFUNCTIONSPLINE_H
AtomCenteredPseudoWavefunctionSpline(std::string filename, unsigned int l, double cutoff, double truncationTol=1E-10)
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