DFT-EFE
 
Loading...
Searching...
No Matches
AtomsFieldDataSphericalManager.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2021. *
3 * The Regents of the University of Michigan and DFT-EFE developers. *
4 * *
5 * This file is part of the DFT-EFE code. *
6 * *
7 * DFT-EFE is free software: you can redistribute it and/or modify *
8 * it under the terms of the Lesser GNU General Public License as *
9 * published by the Free Software Foundation, either version 3 of *
10 * the License, or (at your option) any later version. *
11 * *
12 * DFT-EFE is distributed in the hope that it will be useful, but *
13 * WITHOUT ANY WARRANTY; without even the implied warranty *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
15 * See the Lesser GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU Lesser General Public *
18 * License at the top level of DFT-EFE distribution. If not, see *
19 * <https://www.gnu.org/licenses/>. *
20 ******************************************************************************/
21
22/*
23 * @author Bikash Kanungo
24 */
25
26#ifndef dftefeAtomsFieldDataSphericalManager_h
27#define dftefeAtomsFieldDataSphericalManager_h
28
29#include <utils/TypeConfig.h>
31#include <memory>
32#include <map>
33#include <vector>
34#include <string>
35namespace dftefe
36{
37 namespace atoms
38 {
53 class AtomFieldDataSphericalManager
54 {
55 public:
64 AtomsFieldDataSphericalManager(
65 const std::map<std::string, std::string> &atomSymbolToAtomFileMap,
66 const std::string atomFieldName);
67
71 ~AtomsFieldDataSphericalManager() = default;
72
83 std::vector<std::vector<int>>
84 getAtomQuantumNumbers(const std::string atomSymbol) const;
85
94 std::vector<double>
95 getRadialGridPoints(const std::string atomSymbol,
96 const std::vector<int> quantumNumbers) const;
97
107 std::pair<std::vector<double>, std::vector<double>>
108 getRadialFunction(const std::string atomSymbol,
109 const std::vector<int> quantumNumbers) const;
110
111 private:
112 std::map<std::string, std::shared_ptr<AtomFieldDataSpherical>>
113 d_atomSymbolToAtomFieldDataSphericalMap;
114 };
115
116 } // end of namespace atoms
117} // end of namespace dftefe
118
119#endif // dftefeAtomsFieldDataSphericalManager_h
dealii includes
Definition: AtomFieldDataSpherical.cpp:31