|
OpenMD 3.1
Molecular Dynamics in the Open
|
Generates coordinates of atoms inside a Cuboctahedron. More...
#include <Cuboctahedron.hpp>
Inheritance diagram for OpenMD::Cuboctahedron:Public Member Functions | |
| Cuboctahedron (std::string lattice, int cells, int planes) | |
| Default constructor. | |
| virtual vector< Vector3d > | getPoints () |
| Get the generated points in the cluster. | |
Protected Member Functions | |
| bool | inCluster111 (Vector3d r) |
| bool | inCluster (Vector3d r) |
Protected Attributes | |
| std::string | lattice_ |
| int | L_ |
| int | M_ |
| vector< Vector3d > | Points |
| vector< Vector3d > | Basis |
Generates coordinates of atoms inside a Cuboctahedron.
(Heavily modified from Matlab code from: Dmitry, Richard Brown, and Evgeny Pr)
Definition at line 96 of file Cuboctahedron.hpp.
| OpenMD::Cuboctahedron::Cuboctahedron | ( | std::string | lattice, |
| int | cells, | ||
| int | planes ) |
Default constructor.
Definition at line 61 of file Cuboctahedron.cpp.
|
virtual |
Get the generated points in the cluster.
Definition at line 85 of file Cuboctahedron.cpp.
References OpenMD::Vector< Real, Dim >::lengthSquare().
|
protected |
Definition at line 135 of file Cuboctahedron.cpp.
|
protected |
Definition at line 124 of file Cuboctahedron.cpp.
|
protected |
Definition at line 115 of file Cuboctahedron.hpp.
|
protected |
Definition at line 110 of file Cuboctahedron.hpp.
|
protected |
Definition at line 109 of file Cuboctahedron.hpp.
|
protected |
Definition at line 112 of file Cuboctahedron.hpp.
|
protected |
Definition at line 114 of file Cuboctahedron.hpp.