ALPSCore reference
Public Types | Public Member Functions | List of all members
alps::gf::index_mesh Class Reference

#include <mesh.hpp>

Collaboration diagram for alps::gf::index_mesh:
Collaboration graph

Public Types

typedef generic_index< index_meshindex_type
 

Public Member Functions

 index_mesh (const index_mesh &rhs)
 
index_meshoperator= (const index_mesh &rhs)
 
 index_mesh ()
 
 index_mesh (int np)
 
int extent () const
 
int operator() (index_type idx) const
 
const std::vector< int > & points () const
 
void throw_if_empty () const
 
bool operator== (const index_mesh &mesh) const
 Comparison operators. More...
 
bool operator!= (const index_mesh &mesh) const
 Comparison operators. More...
 
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 ()
 

Detailed Description

Definition at line 821 of file mesh.hpp.

Member Typedef Documentation

Definition at line 825 of file mesh.hpp.

Constructor & Destructor Documentation

alps::gf::index_mesh::index_mesh ( const index_mesh rhs)
inline

Definition at line 827 of file mesh.hpp.

alps::gf::index_mesh::index_mesh ( )
inline

Definition at line 829 of file mesh.hpp.

alps::gf::index_mesh::index_mesh ( int  np)
inline

Definition at line 830 of file mesh.hpp.

Member Function Documentation

void alps::gf::index_mesh::compute_points ( )
inline

Definition at line 884 of file mesh.hpp.

int alps::gf::index_mesh::extent ( ) const
inline

Definition at line 831 of file mesh.hpp.

void alps::gf::index_mesh::load ( alps::hdf5::archive ar,
const std::string &  path 
)
inline

Definition at line 860 of file mesh.hpp.

void alps::gf::index_mesh::load ( alps::hdf5::archive ar)
inline

Load from HDF5.

Definition at line 879 of file mesh.hpp.

bool alps::gf::index_mesh::operator!= ( const index_mesh mesh) const
inline

Comparison operators.

Definition at line 848 of file mesh.hpp.

int alps::gf::index_mesh::operator() ( index_type  idx) const
inline

Definition at line 832 of file mesh.hpp.

index_mesh& alps::gf::index_mesh::operator= ( const index_mesh rhs)
inline

Definition at line 828 of file mesh.hpp.

bool alps::gf::index_mesh::operator== ( const index_mesh mesh) const
inline

Comparison operators.

Definition at line 842 of file mesh.hpp.

const std::vector<int>& alps::gf::index_mesh::points ( ) const
inline

Definition at line 833 of file mesh.hpp.

void alps::gf::index_mesh::save ( alps::hdf5::archive ar,
const std::string &  path 
) const
inline

Definition at line 853 of file mesh.hpp.

void alps::gf::index_mesh::save ( alps::hdf5::archive ar) const
inline

Save to HDF5.

Definition at line 873 of file mesh.hpp.

void alps::gf::index_mesh::throw_if_empty ( ) const
inline

Definition at line 835 of file mesh.hpp.


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