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

#include <mesh.hpp>

Inheritance diagram for alps::gf::momentum_realspace_index_mesh:
Inheritance graph
Collaboration diagram for alps::gf::momentum_realspace_index_mesh:
Collaboration graph

Public Types

typedef boost::multi_array< double, 2 > container_type
 

Public Member Functions

 momentum_realspace_index_mesh (const momentum_realspace_index_mesh &rhs)
 
momentum_realspace_index_meshoperator= (const momentum_realspace_index_mesh &rhs)
 
int extent () const
 Returns the number of points. More...
 
int dimension () const
 returns the spatial dimension More...
 
const std::string & kind () const
 returns the mesh kind More...
 
bool operator== (const momentum_realspace_index_mesh &mesh) const
 Comparison operators. More...
 
bool operator!= (const momentum_realspace_index_mesh &mesh) const
 Comparison operators. More...
 
const container_typepoints () const
 
container_typepoints ()
 
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...
 

Protected Member Functions

 momentum_realspace_index_mesh ()
 
 momentum_realspace_index_mesh (const std::string &kind, int ns, int ndim)
 
 momentum_realspace_index_mesh (const std::string &kind, const container_type &mesh_points)
 

Protected Attributes

container_type points_
 

Detailed Description

Definition at line 659 of file mesh.hpp.

Member Typedef Documentation

typedef boost::multi_array<double,2> alps::gf::momentum_realspace_index_mesh::container_type

Definition at line 661 of file mesh.hpp.

Constructor & Destructor Documentation

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

Definition at line 662 of file mesh.hpp.

alps::gf::momentum_realspace_index_mesh::momentum_realspace_index_mesh ( )
inlineprotected

Definition at line 684 of file mesh.hpp.

alps::gf::momentum_realspace_index_mesh::momentum_realspace_index_mesh ( const std::string &  kind,
int  ns,
int  ndim 
)
inlineprotected

Definition at line 688 of file mesh.hpp.

alps::gf::momentum_realspace_index_mesh::momentum_realspace_index_mesh ( const std::string &  kind,
const container_type mesh_points 
)
inlineprotected

Definition at line 692 of file mesh.hpp.

Member Function Documentation

int alps::gf::momentum_realspace_index_mesh::dimension ( ) const
inline

returns the spatial dimension

Definition at line 700 of file mesh.hpp.

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

Returns the number of points.

Definition at line 698 of file mesh.hpp.

const std::string& alps::gf::momentum_realspace_index_mesh::kind ( ) const
inline

returns the mesh kind

Definition at line 702 of file mesh.hpp.

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

Definition at line 727 of file mesh.hpp.

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

Load from HDF5.

Definition at line 742 of file mesh.hpp.

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

Comparison operators.

Definition at line 712 of file mesh.hpp.

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

Definition at line 666 of file mesh.hpp.

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

Comparison operators.

Definition at line 705 of file mesh.hpp.

const container_type& alps::gf::momentum_realspace_index_mesh::points ( ) const
inline

Definition at line 717 of file mesh.hpp.

container_type& alps::gf::momentum_realspace_index_mesh::points ( )
inline

Definition at line 718 of file mesh.hpp.

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

Definition at line 720 of file mesh.hpp.

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

Save to HDF5.

Definition at line 736 of file mesh.hpp.

Member Data Documentation

container_type alps::gf::momentum_realspace_index_mesh::points_
protected

Definition at line 673 of file mesh.hpp.


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