Interactions::TwoBody::EnergyContainer Class Reference

Container of interaction energies. More...

List of all members.

Public Types

Provide access to these definitions in the current namespace
typedef container_type::key_type key_type
typedef container_type::value_type value_type
typedef container_type::mapped_type mapped_type
typedef container_type::reference reference
typedef
container_type::const_reference 
const_reference

Public Member Functions

reference operator[] (const key_type &k)
 Fill Container.
mapped_type operator() (const Surface::Site *const one_site_ptr, const Surface::Site *const other_site_ptr) const
 Return interaction energy between one_site and other_site.


Detailed Description

Author:
Mathias Laurin <mathias_laurin@users.sourceforge.net>
Date:
2008-10-30
See also:
Interactions::SelfEnergy

Member Function Documentation

mapped_type Interactions::TwoBody::EnergyContainer::operator() ( const Surface::Site *const   one_site_ptr,
const Surface::Site *const   other_site_ptr 
) const

Parameters:
[in] one_site_ptr 
[in] other_site_ptr 
Returns:
energy

reference Interactions::TwoBody::EnergyContainer::operator[] ( const key_type &  k  )  [inline]

Parameters:
[in] key tuple<Surface::Species, Site::Name, Surface::Species, Site::Name>
Returns:
reference to object created


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

SourceForge.net Logo Project's page
Generated on Mon Nov 17 00:23:06 2008 for dmcut2 by doxygen 1.5.7