TBTK
Need a break? Support the development by playing Polarity Puzzles
SpectralFunction.h
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 
17 
24 #ifndef COM_DAFER45_TBTK_SPECTRAL_FUNCTION
25 #define COM_DAFER45_TBTK_SPECTRAL_FUNCTION
26 
27 #include "TBTK/Property/LDOS.h"
28 
29 namespace TBTK{
30 namespace Property{
31 
33 class SpectralFunction : public LDOS{
34 public:
36  SpectralFunction(
37  const std::vector<int> &ranges,
38  double lowerBound,
39  double upperBound,
40  int resolution
41  );
42 
44  SpectralFunction(
45  const std::vector<int> &ranges,
46  double lowerBound,
47  double upperBound,
48  int resolution,
49  const double *data
50  );
51 
53  SpectralFunction(
54  const IndexTree &indexTree,
55  double lowerBound,
56  double upperBound,
57  int resolution
58  );
59 
61  SpectralFunction(
62  const IndexTree &indexTree,
63  double lowerBound,
64  double upperBound,
65  int resolution,
66  const double *data
67  );
68 
70  SpectralFunction(const SpectralFunction &spectralFunction);
71 
73  SpectralFunction(SpectralFunction &&spectralFunction);
74 
76  ~SpectralFunction();
77 
79  SpectralFunction& operator=(const SpectralFunction &rhs);
80 
82  SpectralFunction& operator=(SpectralFunction &&rhs);
83 
85  virtual std::string serialize(Mode mode) const;
86 private:
87 };
88 
89 }; //End namespace Property
90 }; //End namespace TBTK
91 
92 #endif
93 
Property container for local density of states (LDOS).
Definition: Boolean.h:32