OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::CubicLattice Class Reference
+ Inheritance diagram for OpenMD::CubicLattice:

Public Member Functions

virtual std::vector< RealType > getLatticeConstant ()
 
virtual void setLatticeConstant (const std::vector< RealType > &lc)
 
- Public Member Functions inherited from OpenMD::Lattice
int getNumSitesPerCell ()
 
void getLatticePointsPos (std::vector< Vector3d > &latticePos, int nx, int ny, int nz)
 
std::vector< Vector3dgetLatticePointsOrt ()
 
Vector3d getOrigin ()
 
void setOrigin (const Vector3d &newOrigin)
 

Protected Attributes

RealType latticeParam
 
- Protected Attributes inherited from OpenMD::Lattice
int nCellSites
 
Vector3d origin
 
std::vector< Vector3dcellSitesPos
 
std::vector< Vector3dcellSitesOrt
 
Vector3d cellLen
 

Additional Inherited Members

- Protected Member Functions inherited from OpenMD::Lattice
virtual void update ()=0
 

Detailed Description

Definition at line 55 of file CubicLattice.hpp.

Constructor & Destructor Documentation

◆ CubicLattice()

OpenMD::CubicLattice::CubicLattice ( )
protected

Definition at line 51 of file CubicLattice.cpp.

Member Function Documentation

◆ getLatticeConstant()

std::vector< RealType > OpenMD::CubicLattice::getLatticeConstant ( )
virtual

Implements OpenMD::Lattice.

Definition at line 59 of file CubicLattice.cpp.

◆ setLatticeConstant()

void OpenMD::CubicLattice::setLatticeConstant ( const std::vector< RealType > & lc)
virtual

Implements OpenMD::Lattice.

Definition at line 66 of file CubicLattice.cpp.

Member Data Documentation

◆ latticeParam

RealType OpenMD::CubicLattice::latticeParam
protected

Definition at line 67 of file CubicLattice.hpp.


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