OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::shapedLatticeRod Class Reference

Implements a spherically-capped rod-shaped lattice. More...

#include <shapedLatticeRod.hpp>

+ Inheritance diagram for OpenMD::shapedLatticeRod:

Public Member Functions

 shapedLatticeRod (RealType latticeConstant, std::string latticeType, RealType radius, RealType length)
 
virtual bool isInterior (Vector3d point)
 Determines whether a point lies within a spherically-capped nanorod at origin (0,0,0)
 
- Public Member Functions inherited from OpenMD::shapedLattice
 shapedLattice (RealType latticeConstant, std::string latticeType)
 
void setGridDimension (Vector3d dimension)
 setGridDimension:
 
void setOrigin (Vector3d origin)
 
std::vector< Vector3dgetSites ()
 
std::vector< Vector3dgetOrientations ()
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::shapedLattice
void findSites ()
 
- Protected Attributes inherited from OpenMD::shapedLattice
Vector3d dimension_
 
Vector3d origin_
 

Detailed Description

Implements a spherically-capped rod-shaped lattice.

Definition at line 58 of file shapedLatticeRod.hpp.

Constructor & Destructor Documentation

◆ shapedLatticeRod()

OpenMD::shapedLatticeRod::shapedLatticeRod ( RealType latticeConstant,
std::string latticeType,
RealType radius,
RealType length )

Definition at line 61 of file shapedLatticeRod.cpp.

Member Function Documentation

◆ isInterior()

bool OpenMD::shapedLatticeRod::isInterior ( Vector3d point)
virtual

Determines whether a point lies within a spherically-capped nanorod at origin (0,0,0)

Implements OpenMD::shapedLattice.

Definition at line 84 of file shapedLatticeRod.cpp.

References OpenMD::distance().


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