TBTK
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 
23 #ifndef COM_DAFER45_TBTK_SPECTRAL_FUNCTION
24 #define COM_DAFER45_TBTK_SPECTRAL_FUNCTION
25 
26 #include "TBTK/Property/LDOS.h"
27 
28 namespace TBTK{
29 namespace Property{
30 
32 class SpectralFunction : public LDOS{
33 public:
36  int dimensions,
37  const int *ranges,
38  double lowerBound,
39  double upperBound,
40  int resolution
41  );
42 
45  int dimensions,
46  const int *ranges,
47  double lowerBound,
48  double upperBound,
49  int resolution,
50  const double *data
51  );
52 
55  const IndexTree &indexTree,
56  double lowerBound,
57  double upperBound,
58  int resolution
59  );
60 
63  const IndexTree &indexTree,
64  double lowerBound,
65  double upperBound,
66  int resolution,
67  const double *data
68  );
69 
71  SpectralFunction(const SpectralFunction &spectralFunction);
72 
74  SpectralFunction(SpectralFunction &&spectralFunction);
75 
78 
81 
84 
86  virtual std::string serialize(Mode mode) const;
87 private:
88 };
89 
90 }; //End namespace Property
91 }; //End namespace TBTK
92 
93 #endif
Property container for local density of states (LDOS).
Definition: LDOS.h:33
virtual std::string serialize(Mode mode) const
Property container for spectral function.
Definition: SpectralFunction.h:32
Property container for local density of states (LDOS).
SpectralFunction & operator=(const SpectralFunction &rhs)
Data structure for mapping physical indices to linear indices.
Definition: IndexTree.h:34
Definition: ModelFactory.h:35
SpectralFunction(int dimensions, const int *ranges, double lowerBound, double upperBound, int resolution)
Mode
Definition: Serializable.h:44