26#ifndef dftefeAtomSphericalDataEnrichment_h
27#define dftefeAtomSphericalDataEnrichment_h
33#include <unordered_map>
56 class AtomSphericalDataEnrichmentJSON :
public AtomSphericalData
59 AtomSphericalDataEnrichmentJSON(
60 const std::string fileName,
61 const std::vector<std::string> & fieldNames,
62 const std::vector<std::string> & metadataNames,
63 const SphericalHarmonicFunctions & sphericalHarmonicFunc,
64 const std::map<std::string, std::string> additionalParams =
65 std::map<std::string, std::string>());
67 ~AtomSphericalDataEnrichmentJSON() =
default;
70 addFieldName(
const std::string fieldName)
override;
73 getFileName()
const override;
75 std::vector<std::string>
76 getFieldNames()
const override;
78 std::vector<std::string>
79 getMetadataNames()
const override;
81 const std::vector<std::shared_ptr<SphericalData>> &
82 getSphericalData(
const std::string fieldName)
const override;
84 const std::shared_ptr<SphericalData>
85 getSphericalData(
const std::string fieldName,
86 const std::vector<int> &qNumbers)
const override;
89 getMetadata(
const std::string metadataName)
const override;
92 getQNumberID(
const std::string fieldName,
93 const std::vector<int> &qNumbers)
const override;
96 nSphericalData(std::string fieldName)
const override;
100 getSphericalDataFromJSON(
101 std::vector<std::vector<double>> &radialValuesVec,
102 std::vector<std::vector<int>> & qNumVec,
103 const std::vector<double> & radialPoints,
104 const std::string & fieldName,
105 const std::string & fileName,
106 std::vector<std::pair<int, int>> &nlPairs);
109 getCutoffs(std::vector<std::pair<double, double>> &cutOffInfoVec,
110 std::vector<std::vector<double>> & radialValuesVec,
111 std::vector<std::vector<int>> & qNumVec,
112 const std::vector<double> & radialPoints,
113 const std::string & fieldName,
114 const std::string & fileName,
115 std::vector<std::pair<int, int>> & nlPairs);
117 std::vector<std::vector<double>> d_occupancies;
118 std::vector<std::vector<double>> d_eigenValues;
121 double d_smearedCharge;
122 std::string d_PSPorAE;
124 std::string d_fileName;
125 std::vector<std::string> d_fieldNames;
126 std::vector<std::string> d_metadataNames;
127 std::unordered_map<std::string,
128 std::vector<std::shared_ptr<SphericalData>>>
130 std::unordered_map<std::string, std::map<std::vector<int>,
size_type>>
132 std::unordered_map<std::string, std::string> d_metadata;
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8