Property container for spectral function. More...
#include <SpectralFunction.h>
Public Member Functions | |
SpectralFunction (const std::vector< int > &ranges, double lowerBound, double upperBound, int resolution) | |
SpectralFunction (const std::vector< int > &ranges, double lowerBound, double upperBound, int resolution, const double *data) | |
SpectralFunction (const IndexTree &indexTree, double lowerBound, double upperBound, int resolution) | |
SpectralFunction (const IndexTree &indexTree, double lowerBound, double upperBound, int resolution, const double *data) | |
SpectralFunction (const SpectralFunction &spectralFunction) | |
SpectralFunction (SpectralFunction &&spectralFunction) | |
~SpectralFunction () | |
SpectralFunction & | operator= (const SpectralFunction &rhs) |
SpectralFunction & | operator= (SpectralFunction &&rhs) |
virtual std::string | serialize (Mode mode) const |
Public Member Functions inherited from TBTK::Property::LDOS | |
LDOS () | |
LDOS (const std::vector< int > &ranges, double lowerBound, double upperBound, int resolution) | |
LDOS (const std::vector< int > &ranges, double lowerBound, double upperBound, int resolution, const double *data) | |
LDOS (const IndexTree &indexTree, double lowerBound, double upperBound, int resolution) | |
LDOS (const IndexTree &indexTree, double lowerBound, double upperBound, int resolution, const double *data) | |
LDOS (const std::string &serialization, Mode mode) | |
LDOS & | operator+= (const LDOS &rhs) |
LDOS | operator+ (const LDOS &rhs) const |
LDOS & | operator-= (const LDOS &rhs) |
LDOS | operator- (const LDOS &rhs) const |
LDOS & | operator*= (const double &rhs) |
LDOS | operator* (const double &rhs) const |
LDOS & | operator/= (const double &rhs) |
LDOS | operator/ (const double &rhs) const |
virtual std::string | toString () const |
Public Member Functions inherited from TBTK::Property::EnergyResolvedProperty< double > | |
EnergyResolvedProperty () | |
EnergyResolvedProperty (double lowerBound, double upperBound, unsigned int resolution) | |
EnergyResolvedProperty (double lowerBound, double upperBound, unsigned int resolution, const double *data) | |
EnergyResolvedProperty (const std::vector< int > &ranges, double lowerBound, double upperBound, unsigned int resolution) | |
EnergyResolvedProperty (const std::vector< int > &ranges, double lowerBound, double upperBound, unsigned int resolution, const double *data) | |
EnergyResolvedProperty (const IndexTree &indexTree, double lowerBound, double upperBound, unsigned int resolution) | |
EnergyResolvedProperty (const IndexTree &indexTree, double lowerBound, double upperBound, unsigned int resolution, const double *data) | |
EnergyResolvedProperty (EnergyType energyType, const IndexTree &indexTree, int lowerMatsubaraEnergyIndex, int upperMatsubaraEnergtIndex, double fundamentalMatsubaraEnergy) | |
EnergyResolvedProperty (EnergyType energyType, const IndexTree &indexTree, int lowerMatsubaraEnergyIndex, int upperMatsubaraEnergtIndex, double fundamentalMatsubaraEnergy, const double *data) | |
EnergyResolvedProperty (const std::string &serialization, Serializable::Mode mode) | |
EnergyType | getEnergyType () const |
double | getLowerBound () const |
double | getUpperBound () const |
unsigned int | getResolution () const |
double | getDeltaE () const |
double | getEnergy (unsigned int n) const |
int | getLowerMatsubaraEnergyIndex () const |
int | getUpperMatsubaraEnergyIndex () const |
unsigned int | getNumMatsubaraEnergies () const |
double | getFundamentalMatsubaraEnergy () const |
double | getLowerMatsubaraEnergy () const |
double | getUpperMatsubaraEnergy () const |
std::complex< double > | getMatsubaraEnergy (unsigned int n) const |
unsigned int | getNumEnergies () const |
bool | energyWindowsAreEqual (const EnergyResolvedProperty &energyResolvedProperty, double precision=1e-1) const |
Public Member Functions inherited from TBTK::Property::AbstractProperty< double > | |
unsigned int | getBlockSize () const |
unsigned int | getSize () const |
const std::vector< double > & | getData () const |
std::vector< double > & | getDataRW () |
unsigned int | getDimensions () const |
std::vector< int > | getRanges () const |
int | getOffset (const Index &index) const |
const IndexDescriptor & | getIndexDescriptor () const |
bool | contains (const Index &index) const |
void | reduce (const std::vector< Index > &targetPatterns, const std::vector< Index > &newPatterns) |
void | hermitianConjugate () |
std::vector< SparseMatrix< double > > | toSparseMatrices (const Model &model) const |
virtual const double & | operator() (const Index &index, unsigned int offset=0) const |
virtual double & | operator() (const Index &index, unsigned int offset=0) |
double & | operator() (const std::initializer_list< Subindex > &index) |
const double & | operator() (const std::initializer_list< Subindex > &index) const |
virtual const double & | operator() (unsigned int offset) const |
virtual double & | operator() (unsigned int offset) |
void | setAllowIndexOutOfBoundsAccess (bool allowIndexOutOfBoundsAccess) |
void | setDefaultValue (const double &defaultValue) |
void | replaceValues (const double &targetValue, const double &replacementValue) |
Public Member Functions inherited from TBTK::Serializable | |
template<> | |
std::string | serialize (const bool &data, Mode mode) |
template<> | |
std::string | serialize (const double &data, Mode mode) |
template<> | |
std::string | serialize (const std::complex< double > &data, Mode mode) |
template<> | |
std::string | serialize (const int &data, Mode mode) |
template<> | |
std::string | serialize (const unsigned int &data, Mode mode) |
template<> | |
std::string | serialize (const SpinMatrix &data, Mode mode) |
template<> | |
std::string | serialize (const Statistics &data, Mode mode) |
template<> | |
std::string | serialize (const std::vector< std::complex< double >> &data, Mode mode) |
template<> | |
int | deserialize (const std::string &serialization, Mode mode) |
template<> | |
unsigned int | deserialize (const std::string &serialization, Mode mode) |
template<> | |
double | deserialize (const std::string &serialization, Mode mode) |
template<> | |
std::complex< double > | deserialize (const std::string &serialization, Mode mode) |
template<> | |
SpinMatrix | deserialize (const std::string &serialization, Mode mode) |
template<> | |
Statistics | deserialize (const std::string &serialization, Mode mode) |
template<> | |
std::vector< std::complex< double > > | deserialize (const std::string &serialization, Mode mode) |
Additional Inherited Members | |
Public Types inherited from TBTK::Property::EnergyResolvedProperty< double > | |
enum | EnergyType |
Public Types inherited from TBTK::Serializable | |
enum | Mode { Debug, Binary, XML, JSON } |
Static Public Member Functions inherited from TBTK::Serializable | |
static bool | hasID (const std::string &serialization, Mode mode) |
static std::string | getID (const std::string &serialization, Mode mode) |
static std::string | extractComponent (const std::string &serialization, const std::string &containerID, const std::string &componentID, const std::string &componentName, Mode mode) |
Protected Member Functions inherited from TBTK::Property::EnergyResolvedProperty< double > | |
EnergyResolvedProperty & | operator+= (const EnergyResolvedProperty &rhs) |
EnergyResolvedProperty & | operator-= (const EnergyResolvedProperty &rhs) |
EnergyResolvedProperty & | operator*= (const double &rhs) |
EnergyResolvedProperty & | operator/= (const double &rhs) |
Protected Member Functions inherited from TBTK::Property::AbstractProperty< double > | |
AbstractProperty () | |
AbstractProperty (unsigned int blockSize) | |
AbstractProperty (unsigned int blockSize, const double *data) | |
AbstractProperty (const std::vector< int > &ranges, unsigned int blockSize) | |
AbstractProperty (const std::vector< int > &ranges, unsigned int blockSize, const double *data) | |
AbstractProperty (const IndexTree &indexTree, unsigned int blockSize) | |
AbstractProperty (const IndexTree &indexTree, unsigned int blockSize, const double *data) | |
AbstractProperty (const AbstractProperty &abstractProperty) | |
AbstractProperty (AbstractProperty &&abstractProperty) | |
AbstractProperty (const std::string &serialization, Mode mode) | |
virtual | ~AbstractProperty () |
AbstractProperty & | operator= (const AbstractProperty &abstractProperty) |
AbstractProperty & | operator= (AbstractProperty &&abstractProperty) |
AbstractProperty & | operator+= (const AbstractProperty &rhs) |
AbstractProperty & | operator-= (const AbstractProperty &rhs) |
AbstractProperty & | operator*= (const double &rhs) |
AbstractProperty & | operator/= (const double &rhs) |
Protected Member Functions inherited from TBTK::Property::Property | |
Property () | |
virtual | ~Property () |
Static Protected Member Functions inherited from TBTK::Serializable | |
static bool | validate (const std::string &serialization, const std::string &id, Mode mode) |
static std::string | getContent (const std::string &serialization, Mode mode) |
static std::vector< std::string > | split (const std::string &content, Mode mode) |
template<typename DataType > | |
static std::enable_if<!std::is_pointer< DataType >::value, std::string >::type | serialize (const DataType &data, Mode mode) |
template<typename DataType > | |
static std::enable_if< std::is_pointer< DataType >::value, std::string >::type | serialize (const DataType &data, Mode mode) |
template<typename DataType > | |
static DataType | deserialize (const std::string &serialization, Mode mode) |
static std::string | extract (const std::string &serialization, Mode mode, std::string component) |
Property container for spectral function.
TBTK::Property::SpectralFunction::SpectralFunction | ( | const std::vector< int > & | ranges, |
double | lowerBound, | ||
double | upperBound, | ||
int | resolution | ||
) |
Constructor.
TBTK::Property::SpectralFunction::SpectralFunction | ( | const std::vector< int > & | ranges, |
double | lowerBound, | ||
double | upperBound, | ||
int | resolution, | ||
const double * | data | ||
) |
Constructor.
TBTK::Property::SpectralFunction::SpectralFunction | ( | const IndexTree & | indexTree, |
double | lowerBound, | ||
double | upperBound, | ||
int | resolution | ||
) |
Constructor.
TBTK::Property::SpectralFunction::SpectralFunction | ( | const IndexTree & | indexTree, |
double | lowerBound, | ||
double | upperBound, | ||
int | resolution, | ||
const double * | data | ||
) |
Constructor.
TBTK::Property::SpectralFunction::SpectralFunction | ( | const SpectralFunction & | spectralFunction | ) |
Copy constructor.
TBTK::Property::SpectralFunction::SpectralFunction | ( | SpectralFunction && | spectralFunction | ) |
Move constructor.
TBTK::Property::SpectralFunction::~SpectralFunction | ( | ) |
Destructor.
SpectralFunction& TBTK::Property::SpectralFunction::operator= | ( | const SpectralFunction & | rhs | ) |
Assignment operator.
SpectralFunction& TBTK::Property::SpectralFunction::operator= | ( | SpectralFunction && | rhs | ) |
Move assignment operator.
|
virtual |
Overrider LDOS::serialize().
Reimplemented from TBTK::Property::LDOS.