Public Types | |
| typedef std::string | Name |
| typedef std::size_t | index_type |
|
typedef std::set < Interactions::TwoBody::Geometry, sort_int_on_name > | TwoBodyInteractionsContainer |
|
typedef std::set< Bridge, sort_br_on_name > | BridgeInteractionsContainer |
|
typedef std::vector < Reactions::EventPtr > | EventContainer |
Public Member Functions | |
| Site (const Name &name, index_type index, const Species &species) | |
| Constructor. | |
| void | Clear () |
| Remove adsorbate. | |
| double | InteractionEnergy () const |
| Sum interaction energy over all neighbors. | |
| double | InteractionEnergyBridge (const Site *const other_site_ptr) const |
| Sum interaction energy over all bridge sites. | |
Accessors | |
| Site::Name | name () const |
| Species | species () const |
| bool | empty () const |
| Return true if no adsorbate. | |
| index_type | index () const |
| double | self_energy () const |
| TwoBodyInteractionsContainer::const_reference | two_body_interactions (const TwoBodyInteractionsContainer::value_type &two_body_interactions) const |
| Find two body interactions in the container. | |
|
std::pair < TwoBodyInteractionsContainer::const_iterator, TwoBodyInteractionsContainer::const_iterator > | two_body_interactions_range () |
Modifiers | |
| void | set_species (const Species &species) |
| void | set_self_energy (const Interactions::SelfEnergy &self_energy) |
| void | set_bridge_interactions (const Bridge &bridge) |
| Add bridge interactions to the container. | |
| void | set_two_body_interactions (const TwoBodyInteractionsContainer::value_type &two_body_interactions) |
| Add two body interactions. | |
Friends | |
| std::istream & | operator>> (std::istream &is, Site &s) |
| double Surface::Site::InteractionEnergy | ( | ) | const [inline] |
| double Surface::Site::InteractionEnergyBridge | ( | const Site *const | other_site_ptr | ) | const [inline] |
| [in] | other_site_ptr | bridge sites are found between this and other_site_ptr |
| void Surface::Site::set_bridge_interactions | ( | const Bridge & | bridge | ) | [inline] |
| [in] | bridge |
| void Surface::Site::set_two_body_interactions | ( | const TwoBodyInteractionsContainer::value_type & | two_body_interactions | ) | [inline] |
| [in] | two_body_interactions |
| TwoBodyInteractionsContainer::const_reference Surface::Site::two_body_interactions | ( | const TwoBodyInteractionsContainer::value_type & | two_body_interactions | ) | const [inline] |
| [in] | two_body_interactions |
|
|
Project's page |
Generated on Mon Nov 17 00:23:06 2008 for dmcut2 by 1.5.7
|