TBTK
TBTK::Property::SpectralFunction Class Reference

Property container for spectral function. More...

#include <SpectralFunction.h>

Inheritance diagram for TBTK::Property::SpectralFunction:
TBTK::Property::LDOS TBTK::Property::AbstractProperty< double > TBTK::Serializable

Public Member Functions

 SpectralFunction (int dimensions, const int *ranges, double lowerBound, double upperBound, int resolution)
 
 SpectralFunction (int dimensions, const 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 ()
 
SpectralFunctionoperator= (const SpectralFunction &rhs)
 
SpectralFunctionoperator= (SpectralFunction &&rhs)
 
virtual std::string serialize (Mode mode) const
 
- Public Member Functions inherited from TBTK::Property::LDOS
 LDOS (int dimensions, const int *ranges, double lowerBound, double upperBound, int resolution)
 
 LDOS (int dimensions, const 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 LDOS &ldos)
 
 LDOS (LDOS &&ldos)
 
 LDOS (const std::string &serialization, Mode mode)
 
 ~LDOS ()
 
double getLowerBound () const
 
double getUpperBound () const
 
int getResolution () const
 
LDOSoperator= (const LDOS &ldos)
 
LDOSoperator= (LDOS &&ldos)
 
- Public Member Functions inherited from TBTK::Property::AbstractProperty< double >
unsigned int getBlockSize () const
 
void setSize (unsigned int size)
 
unsigned int getSize () const
 
const double * getData () const
 
double * getDataRW ()
 
unsigned int getSizeInBytes () const
 
char * getRawData ()
 
unsigned int getDimensions () const
 
std::vector< int > getRanges () const
 
int getOffset (const Index &index) const
 
const IndexDescriptorgetIndexDescriptor () const
 
bool contains (const Index &index) const
 
virtual const double & operator() (const Index &index, unsigned int offset=0) const
 
virtual double & operator() (const Index &index, unsigned int offset=0)
 
virtual const double & operator() (unsigned int offset) const
 
virtual double & operator() (unsigned int offset)
 
void setAllowIndexOutOfBoundsAccess (bool allowIndexOutOfBoundsAccess)
 
void setDefaultValue (const double &defaultValue)
 

Additional Inherited Members

- 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)
 
- Protected Member Functions inherited from TBTK::Property::AbstractProperty< double >
 AbstractProperty ()
 
 AbstractProperty (unsigned int blockSize)
 
 AbstractProperty (unsigned int blockSize, const double *data)
 
 AbstractProperty (unsigned int dimensions, const int *ranges, unsigned int blockSize)
 
 AbstractProperty (unsigned int dimensions, const 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 ()
 
AbstractPropertyoperator= (const AbstractProperty &abstractProperty)
 
AbstractPropertyoperator= (AbstractProperty &&abstractProperty)
 
- 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)
 
static std::string serialize (bool b, Mode mode)
 
static void deserialize (const std::string &serialization, bool *b, Mode mode)
 
static std::string serialize (int i, Mode mode)
 
static void deserialize (const std::string &serialization, int *i, Mode mode)
 
static std::string serialize (unsigned int u, Mode mode)
 
static void deserialize (const std::string &serialization, unsigned int *u, Mode mode)
 
static std::string serialize (double d, Mode mode)
 
static void deserialize (const std::string &serialization, double *d, Mode mode)
 
static std::string serialize (std::complex< double > c, Mode mode)
 
static void deserialize (const std::string &serialization, std::complex< double > *c, Mode mode)
 
static std::string serialize (Statistics s, Mode mode)
 
static void deserialize (const std::string &serialization, Statistics *s, Mode mode)
 
static std::string extract (const std::string &serialization, Mode mode, std::string component)
 

Detailed Description

Property container for spectral function.

Constructor & Destructor Documentation

TBTK::Property::SpectralFunction::SpectralFunction ( int  dimensions,
const int *  ranges,
double  lowerBound,
double  upperBound,
int  resolution 
)

Constructor.

TBTK::Property::SpectralFunction::SpectralFunction ( int  dimensions,
const 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.

Member Function Documentation

SpectralFunction& TBTK::Property::SpectralFunction::operator= ( const SpectralFunction rhs)

Assignment operator.

SpectralFunction& TBTK::Property::SpectralFunction::operator= ( SpectralFunction &&  rhs)

Move assignment operator.

virtual std::string TBTK::Property::SpectralFunction::serialize ( Mode  mode) const
virtual

Overrider LDOS::serialize().

Reimplemented from TBTK::Property::LDOS.


The documentation for this class was generated from the following file: