OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::Decahedron Class Reference

Creates the regular decahedron, Ino decahedron, or truncated (Marks) decahedron structures (depending on the parameters). More...

#include <Decahedron.hpp>

+ Inheritance diagram for OpenMD::Decahedron:

Public Member Functions

 Decahedron (int columnAtoms, int shells, int twinAtoms)
 Default constructor.
 
virtual vector< Vector3dgetPoints ()
 Get the generated points in the cluster.
 

Protected Member Functions

vector< Vector3dtruncatedRing (int n, int k)
 Generate the rings of the Decahedron.
 

Protected Attributes

int N_
 
int M_
 
int K_
 
vector< Vector3dPoints
 
vector< Vector3dBasis
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Decahedron()

OpenMD::Decahedron::Decahedron ( int columnAtoms,
int shells,
int twinAtoms )

Default constructor.

Definition at line 56 of file Decahedron.cpp.

Member Function Documentation

◆ getPoints()

vector< Vector3d > OpenMD::Decahedron::getPoints ( )
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().

◆ truncatedRing()

vector< Vector3d > OpenMD::Decahedron::truncatedRing ( int n,
int k )
protected

Generate the rings of the Decahedron.

Definition at line 112 of file Decahedron.cpp.

Referenced by getPoints().

Member Data Documentation

◆ Basis

vector<Vector3d> OpenMD::Decahedron::Basis
protected

Definition at line 115 of file Decahedron.hpp.

◆ K_

int OpenMD::Decahedron::K_
protected

Definition at line 112 of file Decahedron.hpp.

◆ M_

int OpenMD::Decahedron::M_
protected

Definition at line 111 of file Decahedron.hpp.

◆ N_

int OpenMD::Decahedron::N_
protected

Definition at line 110 of file Decahedron.hpp.

◆ Points

vector<Vector3d> OpenMD::Decahedron::Points
protected

Definition at line 114 of file Decahedron.hpp.


The documentation for this class was generated from the following files: