DFT-EFE
 
Loading...
Searching...
No Matches
AtomSphericalData.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 dftefeAtomSphericalData_h
27#define dftefeAtomSphericalData_h
28
29#include <utils/TypeConfig.h>
30#include <atoms/SphericalData.h>
32#include <memory>
33#include <unordered_map>
34#include <map>
35#include <vector>
36#include <string>
37namespace dftefe
38{
39 namespace atoms
40 {
56 class AtomSphericalData
57 {
58 public:
59 virtual ~AtomSphericalData() = default;
60
61 virtual void
62 addFieldName(const std::string fieldName) = 0;
63
64 virtual std::string
65 getFileName() const = 0;
66
67 virtual std::vector<std::string>
68 getFieldNames() const = 0;
69
70 virtual std::vector<std::string>
71 getMetadataNames() const = 0;
72
73 virtual const std::vector<std::shared_ptr<SphericalData>> &
74 getSphericalData(const std::string fieldName) const = 0;
75
76 virtual const std::shared_ptr<SphericalData>
77 getSphericalData(const std::string fieldName,
78 const std::vector<int> &qNumbers) const = 0;
79
80 virtual std::string
81 getMetadata(const std::string metadataName) const = 0;
82
83 virtual size_type
84 getQNumberID(const std::string fieldName,
85 const std::vector<int> &qNumbers) const = 0;
86
87 virtual size_type
88 nSphericalData(std::string fieldName) const = 0;
89 };
90 } // end of namespace atoms
91} // end of namespace dftefe
92#endif // dftefeAtomSphericalData_h
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8