OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::shapedLattice Class Referenceabstract

Returns a vector of vector3 position on a lattice truncated. More...

#include <shapedLattice.hpp>

Inheritance diagram for OpenMD::shapedLattice:

Public Member Functions

 shapedLattice (RealType latticeConstant, std::string latticeType)
void setGridDimension (Vector3d dimension)
 setGridDimension:
void setOrigin (Vector3d origin)
virtual bool isInterior (Vector3d point)=0
std::vector< Vector3d > getSites ()
std::vector< Vector3d > getOrientations ()

Protected Member Functions

void findSites ()

Protected Attributes

Vector3d dimension_
Vector3d origin_

Detailed Description

Returns a vector of vector3 position on a lattice truncated.

Definition at line 63 of file shapedLattice.hpp.

Constructor & Destructor Documentation

◆ shapedLattice()

OpenMD::shapedLattice::shapedLattice ( RealType latticeConstant,
std::string latticeType )

Definition at line 58 of file shapedLattice.cpp.

◆ ~shapedLattice()

virtual OpenMD::shapedLattice::~shapedLattice ( )
inlinevirtual

Definition at line 66 of file shapedLattice.hpp.

Member Function Documentation

◆ findSites()

void OpenMD::shapedLattice::findSites ( )
protected

Definition at line 92 of file shapedLattice.cpp.

◆ getOrientations()

std::vector< Vector3d > OpenMD::shapedLattice::getOrientations ( )

Definition at line 124 of file shapedLattice.cpp.

◆ getSites()

std::vector< Vector3d > OpenMD::shapedLattice::getSites ( )

Definition at line 119 of file shapedLattice.cpp.

◆ isInterior()

virtual bool OpenMD::shapedLattice::isInterior ( Vector3d point)
pure virtual

◆ setGridDimension()

void OpenMD::shapedLattice::setGridDimension ( Vector3d dimension)

setGridDimension:

Definition at line 74 of file shapedLattice.cpp.

References setGridDimension().

Referenced by setGridDimension().

◆ setOrigin()

void OpenMD::shapedLattice::setOrigin ( Vector3d origin)

Definition at line 86 of file shapedLattice.cpp.

Member Data Documentation

◆ dimension_

Vector3d OpenMD::shapedLattice::dimension_
protected

Definition at line 79 of file shapedLattice.hpp.

◆ origin_

Vector3d OpenMD::shapedLattice::origin_
protected

Definition at line 80 of file shapedLattice.hpp.


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