Go to the documentation of this file.
24 #ifndef COM_DAFER45_TBTK_FILE_READER
25 #define COM_DAFER45_TBTK_FILE_READER
36 #include "TBTK/Property/SpectralFunction.h"
54 std::string name =
"Model",
55 std::string path =
"/"
60 std::string name =
"HoppingAmplitudeSet",
61 std::string path =
"/"
67 std::string name =
"Geometry",
68 std::string path =
"/"
73 std::string name =
"IndexTree",
74 std::string path =
"/"
79 std::string name =
"EigenValues",
80 std::string path =
"/"
85 std::string name =
"WaveFunctions",
91 std::string name =
"DOS",
92 std::string path =
"/"
97 std::string name =
"Density",
98 std::string path =
"/"
103 std::string name =
"Magnetization",
104 std::string path =
"/"
109 std::string name =
"LDOS",
110 std::string path =
"/"
115 std::string name =
"SpectralFunction",
116 std::string path =
"/"
121 std::string name =
"SpinPolarizedLDOS",
122 std::string path =
"/"
127 std::string name =
"ParameterSet",
128 std::string path =
"/"
137 std::string path =
"/"
146 std::string path =
"/"
152 std::complex<double> **data,
156 std::string path =
"/"
162 std::string *attribute_names,
165 std::string path =
"/"
171 std::string *attribute_names,
174 std::string path =
"/"
188 static bool isInitialized;
191 static std::string filename;
198 return reinterpret_cast<Property::SpectralFunction*
>(
readLDOS(name, path));
202 FileReader::filename = filename;
203 isInitialized =
false;
207 remove(filename.c_str());
208 isInitialized =
false;
static IndexTree * readIndexTree(std::string name="IndexTree", std::string path="/")
static Property::Density * readDensity(std::string name="Density", std::string path="/")
Container of Model related information.
Definition: Model.h:57
Property container for density of states (DOS).
Definition: DOS.h:48
Container of Model related information.
Property container for eigen values.
Definition: ParameterSet.h:34
Property container for spin-polarized local density of states (spin-polarized LDOS).
Definition: SpinPolarizedLDOS.h:46
static void clear()
Definition: FileReader.h:206
Contains geometric inforamtion about a Model.
static Property::SpectralFunction * readSpectralFunction(std::string name="SpectralFunction", std::string path="/")
Definition: FileReader.h:194
static Property::DOS * readDOS(std::string name="DOS", std::string path="/")
HoppingAmplitude container.
Property container for the local density of states (LDOS).
Definition: LDOS.h:48
Property container for wave functions.
HoppingAmplitude container.
Definition: HoppingAmplitudeSet.h:50
Definition: FileReader.h:50
static Property::EigenValues * readEigenValues(std::string name="EigenValues", std::string path="/")
static Property::LDOS * readLDOS(std::string name="LDOS", std::string path="/")
static void setFileName(std::string filename)
Definition: FileReader.h:201
Property container for local density of states (LDOS).
Contains geometric information about a Model.
Definition: Geometry.h:34
Property container for spin-polarized local density of states (spin-polarized LDOS).
Property container for density of states (DOS).
Property container for density.
Definition: Density.h:43
static Model * readModel(std::string name="Model", std::string path="/")
Property container for magnetization.
static Property::Magnetization * readMagnetization(std::string name="Magnetization", std::string path="/")
Data structure for mapping physical indices to linear indices.
Definition: IndexTree.h:35
Property container for density.
static HoppingAmplitudeSet * readHoppingAmplitudeSet(std::string name="HoppingAmplitudeSet", std::string path="/")
static void readAttributes(int *attributes, std::string *attribute_names, int num, std::string name, std::string path="/")
static Property::WaveFunctions * readWaveFunctions(std::string name="WaveFunctions", std::string pat="/")
static Property::SpinPolarizedLDOS * readSpinPolarizedLDOS(std::string name="SpinPolarizedLDOS", std::string path="/")
static ParameterSet * readParameterSet(std::string name="ParameterSet", std::string path="/")
static Geometry * readGeometry(Model *model, std::string name="Geometry", std::string path="/")
static void read(int **data, int *rank, int **dims, std::string name, std::string path="/")
Property container for eigen values.
Definition: EigenValues.h:46
Property container for wave function.
Definition: WaveFunctions.h:45
Property container for magnetization.
Definition: Magnetization.h:44