DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
AtomCenteredSphericalFunctionCoreDensitySpline.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_ATOMCENTEREDSPHERICALFUNCTIONCOREDENSITYSPLINE_H
21#define DFTFE_ATOMCENTEREDSPHERICALFUNCTIONCOREDENSITYSPLINE_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-core Density 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] truncationTol the minimum function value afterwhich the
47 * function is truncated.
48 * @param[in] consider0thEntry whether to replace the 0th fn value with the
49 * 1st value in the data.
50 */
52 std::string filename,
53 double truncationTol = 1E-10,
54 bool consider0thEntry = true);
55 };
56
57} // end of namespace dftfe
58
59#endif // DFTFE_ATOMCENTEREDSPHERICALFUNCTIONCOREDENSITYSPLINE_H
AtomCenteredSphericalFunctionCoreDensitySpline(std::string filename, double truncationTol=1E-10, bool consider0thEntry=true)
Creates splines for radial-core Density from file by applying suitable BC on spline and determining t...
Definition AtomCenteredSphericalFunctionSpline.h:41
Contains commonly used I/O file utils functions.
Definition pseudoPotentialToDftfeConverter.cc:34