OpenMD 3.1
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< Vector3dgetSites ()
 
std::vector< Vector3dgetOrientations ()
 

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 60 of file shapedLattice.hpp.

Constructor & Destructor Documentation

◆ shapedLattice()

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

Definition at line 55 of file shapedLattice.cpp.

◆ ~shapedLattice()

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

Definition at line 63 of file shapedLattice.hpp.

Member Function Documentation

◆ findSites()

void OpenMD::shapedLattice::findSites ( )
protected

Definition at line 89 of file shapedLattice.cpp.

◆ getOrientations()

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

Definition at line 121 of file shapedLattice.cpp.

◆ getSites()

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

Definition at line 116 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 71 of file shapedLattice.cpp.

◆ setOrigin()

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

Definition at line 83 of file shapedLattice.cpp.

Member Data Documentation

◆ dimension_

Vector3d OpenMD::shapedLattice::dimension_
protected

Definition at line 76 of file shapedLattice.hpp.

◆ origin_

Vector3d OpenMD::shapedLattice::origin_
protected

Definition at line 77 of file shapedLattice.hpp.


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