Public Types | |
| typedef SiteContainer::iterator | iterator |
| Define iterator to the lattice. | |
|
typedef SiteContainer::const_iterator | const_iterator |
| Define const iterator to the lattice. | |
| typedef SiteContainer::size_type | size_type |
| Define the size of the lattice. | |
Public Member Functions | |
| Lattice (const size_type length_side) | |
| Constructor. | |
| ~Lattice () | |
| Destructor. | |
| void | Populate (double coverage, const Species &species) |
| Populate the lattice. | |
| void | Clean () |
| Clean the lattice. | |
| void | set_bridge (const Bridge &bridge) |
| Set interactions on bridge sites. | |
Accessors | |
| size_type | width () |
| Width (number of columns). | |
| size_type | height () |
| Height (number of rows). | |
Operations on the lattice provided by std::vector | |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| size_type | size () const |
| bool | empty () const |
| Site * | operator[] (size_type n) |
| const Site *const | operator[] (size_type n) const |
| Site * | at (size_type n) |
| const Site *const | at (size_type n) const |
| Surface::Lattice::Lattice | ( | const size_type | length_side | ) | [inline] |
| [in] | length_side | one dimension of the lattice |
| void Surface::Lattice::Clean | ( | ) |
Equivalent to
Lattice::Clean(begin(), end());
| void Surface::Lattice::Populate | ( | double | coverage, | |
| const Species & | species | |||
| ) |
Equivalent to
Lattice::Populate(begin(), end(), coverage, species);
| void Surface::Lattice::set_bridge | ( | const Bridge & | bridge | ) |
Equivalent to
Lattice::SetBridge(begin(), end(), bridge);
|
|
Project's page |
Generated on Mon Nov 17 00:23:06 2008 for dmcut2 by 1.5.7
|