TBTK
Need a break? Support the development by playing Polarity Puzzles
SpinPolarizedLDOS.h
Go to the documentation of this file.
1 /* Copyright 2016 Kristofer Björnson
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
24 #ifndef COM_DAFER45_TBTK_SPIN_POLARIZED_LDOS
25 #define COM_DAFER45_TBTK_SPIN_POLARIZED_LDOS
26 
28 #include "TBTK/SpinMatrix.h"
29 
30 #include <complex>
31 
32 namespace TBTK{
33 namespace Property{
34 
46 class SpinPolarizedLDOS : public EnergyResolvedProperty<SpinMatrix>{
47 public:
58  const std::vector<int> &ranges,
59  double lowerBound,
60  double upperBound,
61  int resolution
62  );
63 
76  const std::vector<int> &ranges,
77  double lowerBound,
78  double upperBound,
79  int resolution,
80  const SpinMatrix *data
81  );
82 
93  const IndexTree &indexTree,
94  double lowerBound,
95  double upperBound,
96  int resolution
97  );
98 
111  const IndexTree &indexTree,
112  double lowerBound,
113  double upperBound,
114  int resolution,
115  const SpinMatrix *data
116  );
117 
125  SpinPolarizedLDOS(const std::string &serialization, Mode mode);
126 
128  virtual std::string toString() const;
129 
131  std::string serialize(Mode mode) const;
132 private:
133 };
134 
135 }; //End namespace Property
136 }; //End namespace TBTK
137 
138 #endif
TBTK::Property::EnergyResolvedProperty
Base class for energy resolved Properties.
Definition: EnergyResolvedProperty.h:83
TBTK::Property::SpinPolarizedLDOS
Property container for spin-polarized local density of states (spin-polarized LDOS).
Definition: SpinPolarizedLDOS.h:46
EnergyResolvedProperty.h
Base class for energy resolved Properties.
TBTK::Property::SpinPolarizedLDOS::toString
virtual std::string toString() const
TBTK::IndexTree
Data structure for mapping physical indices to linear indices.
Definition: IndexTree.h:35
TBTK::Property::SpinPolarizedLDOS::serialize
std::string serialize(Mode mode) const
TBTK::Serializable::Mode
Mode
Definition: Serializable.h:47
TBTK::SpinMatrix
Matrix containing information about a spin.
Definition: SpinMatrix.h:82
TBTK::Property::SpinPolarizedLDOS::SpinPolarizedLDOS
SpinPolarizedLDOS(const std::vector< int > &ranges, double lowerBound, double upperBound, int resolution)