OpenMD 3.1
Molecular Dynamics in the Open
|
Creates the regular decahedron, Ino decahedron, or truncated (Marks) decahedron structures (depending on the parameters). More...
#include <Decahedron.hpp>
Public Member Functions | |
Decahedron (int columnAtoms, int shells, int twinAtoms) | |
Default constructor. | |
virtual vector< Vector3d > | getPoints () |
Get the generated points in the cluster. | |
Protected Member Functions | |
vector< Vector3d > | truncatedRing (int n, int k) |
Generate the rings of the Decahedron. | |
Protected Attributes | |
int | N_ |
int | M_ |
int | K_ |
vector< Vector3d > | Points |
vector< Vector3d > | Basis |
Creates the regular decahedron, Ino decahedron, or truncated (Marks) decahedron structures (depending on the parameters).
(Heavily modified from Matlab code from: Dmitry, Richard Brown, and Evgeny Pr)
Definition at line 97 of file Decahedron.hpp.
OpenMD::Decahedron::Decahedron | ( | int | columnAtoms, |
int | shells, | ||
int | twinAtoms ) |
Default constructor.
Definition at line 56 of file Decahedron.cpp.
|
virtual |
Get the generated points in the cluster.
Reimplemented in OpenMD::CurlingStoneDecahedron.
Definition at line 79 of file Decahedron.cpp.
References truncatedRing().
Referenced by OpenMD::CurlingStoneDecahedron::getPoints().
|
protected |
Generate the rings of the Decahedron.
Definition at line 112 of file Decahedron.cpp.
Referenced by getPoints().
|
protected |
Definition at line 115 of file Decahedron.hpp.
|
protected |
Definition at line 112 of file Decahedron.hpp.
|
protected |
Definition at line 111 of file Decahedron.hpp.
|
protected |
Definition at line 110 of file Decahedron.hpp.
|
protected |
Definition at line 114 of file Decahedron.hpp.