Public Member Functions | |
| Metropolis (Surface::Lattice::iterator first, Surface::Lattice::iterator last, const Interactions::TwoBody::Geometry &neighbors) | |
| Constructor. | |
| Metropolis (Surface::Lattice::iterator first, Surface::Lattice::iterator last, const Interactions::TwoBody::Geometry &neighbors, const Surface::Species species) | |
| Constructor. | |
| void | operator() () const |
| Perform one Metropolis step. | |
Surface::Lattice lattice(128); // ... define lattice ... Interactions::TwoBody::Geometry first_nearest_neighbors("1st NN"); // ... define neighbors ... Metropolis metropolis(Lattice::lattice.begin(), Lattice::lattice.end(), first_nearest_neighbors); metropolis(); // perform one metropolis step metropolis(); // etc.
| Algorithms::Metropolis::Metropolis | ( | Surface::Lattice::iterator | first, | |
| Surface::Lattice::iterator | last, | |||
| const Interactions::TwoBody::Geometry & | neighbors | |||
| ) | [inline] |
| [in] | first | element of the lattice |
| [in] | last | element of the lattice |
| [in] | neighbors | on which to walk |
| Algorithms::Metropolis::Metropolis | ( | Surface::Lattice::iterator | first, | |
| Surface::Lattice::iterator | last, | |||
| const Interactions::TwoBody::Geometry & | neighbors, | |||
| const Surface::Species | species | |||
| ) | [inline] |
| [in] | first | element of the lattice |
| [in] | last | element of the lattice |
| [in] | neighbors | on which to walk |
| [in] | species | that performs the walk |
| neighbors | neighbors on which to walk |
|
|
Project's page |
Generated on Mon Nov 17 00:23:06 2008 for dmcut2 by 1.5.7
|