ALPSCore reference
Public Types | Public Member Functions | List of all members
alps::gf::numerical_mesh< T > Class Template Reference

#include <mesh.hpp>

Inheritance diagram for alps::gf::numerical_mesh< T >:
Inheritance graph
Collaboration diagram for alps::gf::numerical_mesh< T >:
Collaboration graph

Public Types

typedef generic_index< numerical_meshindex_type
 

Public Member Functions

 numerical_mesh (const numerical_mesh< T > &rhs)
 
 numerical_mesh (gf::statistics::statistics_type statistics=statistics::FERMIONIC)
 
 numerical_mesh (double b, const std::vector< piecewise_polynomial< T > > &basis_functions, gf::statistics::statistics_type statistics=statistics::FERMIONIC)
 
int extent () const
 
int operator() (index_type idx) const
 
bool operator== (const numerical_mesh &mesh) const
 Comparison operators. More...
 
bool operator!= (const numerical_mesh &mesh) const
 Comparison operators. More...
 
double beta () const
 getter functions for member variables More...
 
statistics::statistics_type statistics () const
 
const piecewise_polynomial< T > & basis_function (int l) const
 
void swap (numerical_mesh &other)
 Swaps this and another mesh. More...
 
numerical_meshoperator= (const numerical_mesh &other)
 
void save (alps::hdf5::archive &ar, const std::string &path) const
 
void load (alps::hdf5::archive &ar, const std::string &path)
 
void save (alps::hdf5::archive &ar) const
 Save to HDF5. More...
 
void load (alps::hdf5::archive &ar)
 Load from HDF5. More...
 
void compute_points ()
 
- Public Member Functions inherited from alps::gf::base_mesh
 base_mesh ()
 
 base_mesh (const base_mesh &rhs)
 
const std::vector< double > & points () const
 Const access to mesh points. More...
 

Additional Inherited Members

- Protected Member Functions inherited from alps::gf::base_mesh
std::vector< double > & _points ()
 
void swap (base_mesh &other)
 

Detailed Description

template<class T>
class alps::gf::numerical_mesh< T >

Numerical mesh (T = double or std::complex<double>)

Definition at line 1046 of file mesh.hpp.

Member Typedef Documentation

Definition at line 1077 of file mesh.hpp.

Constructor & Destructor Documentation

template<class T>
alps::gf::numerical_mesh< T >::numerical_mesh ( const numerical_mesh< T > &  rhs)
inline

Definition at line 1078 of file mesh.hpp.

Definition at line 1082 of file mesh.hpp.

template<class T>
alps::gf::numerical_mesh< T >::numerical_mesh ( double  b,
const std::vector< piecewise_polynomial< T > > &  basis_functions,
gf::statistics::statistics_type  statistics = statistics::FERMIONIC 
)
inline

Definition at line 1085 of file mesh.hpp.

Member Function Documentation

template<class T>
const piecewise_polynomial<T>& alps::gf::numerical_mesh< T >::basis_function ( int  l) const
inline

Definition at line 1118 of file mesh.hpp.

template<class T>
double alps::gf::numerical_mesh< T >::beta ( ) const
inline

getter functions for member variables

Definition at line 1116 of file mesh.hpp.

template<class T>
void alps::gf::numerical_mesh< T >::compute_points ( )
inline

Definition at line 1232 of file mesh.hpp.

template<class T>
int alps::gf::numerical_mesh< T >::extent ( ) const
inline

Definition at line 1093 of file mesh.hpp.

template<class T>
void alps::gf::numerical_mesh< T >::load ( alps::hdf5::archive ar,
const std::string &  path 
)
inline

Definition at line 1159 of file mesh.hpp.

template<class T>
void alps::gf::numerical_mesh< T >::load ( alps::hdf5::archive ar)
inline

Load from HDF5.

Definition at line 1193 of file mesh.hpp.

template<class T>
bool alps::gf::numerical_mesh< T >::operator!= ( const numerical_mesh< T > &  mesh) const
inline

Comparison operators.

Definition at line 1110 of file mesh.hpp.

template<class T>
int alps::gf::numerical_mesh< T >::operator() ( index_type  idx) const
inline

Definition at line 1098 of file mesh.hpp.

template<class T>
numerical_mesh& alps::gf::numerical_mesh< T >::operator= ( const numerical_mesh< T > &  other)
inline

Definition at line 1139 of file mesh.hpp.

template<class T>
bool alps::gf::numerical_mesh< T >::operator== ( const numerical_mesh< T > &  mesh) const
inline

Comparison operators.

Definition at line 1104 of file mesh.hpp.

template<class T>
void alps::gf::numerical_mesh< T >::save ( alps::hdf5::archive ar,
const std::string &  path 
) const
inline

Definition at line 1147 of file mesh.hpp.

template<class T>
void alps::gf::numerical_mesh< T >::save ( alps::hdf5::archive ar) const
inline

Save to HDF5.

Definition at line 1187 of file mesh.hpp.

template<class T>
statistics::statistics_type alps::gf::numerical_mesh< T >::statistics ( ) const
inline

Definition at line 1117 of file mesh.hpp.

template<class T>
void alps::gf::numerical_mesh< T >::swap ( numerical_mesh< T > &  other)
inline

Swaps this and another mesh.

Definition at line 1127 of file mesh.hpp.


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