OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::shapedLatticeEllipsoid Class Reference

Implements an ellipsoid-shaped lattice. More...

#include <shapedLatticeEllipsoid.hpp>

Inheritance diagram for OpenMD::shapedLatticeEllipsoid:

Public Member Functions

 shapedLatticeEllipsoid (RealType latticeConstant, std::string latticeType, RealType rAxial, RealType rEquatorial)
virtual bool isInterior (Vector3d point)
 Determines whether a point lies within an ellipsoid centered 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< Vector3d > getSites ()
std::vector< Vector3d > getOrientations ()

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 an ellipsoid-shaped lattice.

Definition at line 61 of file shapedLatticeEllipsoid.hpp.

Constructor & Destructor Documentation

◆ shapedLatticeEllipsoid()

OpenMD::shapedLatticeEllipsoid::shapedLatticeEllipsoid ( RealType latticeConstant,
std::string latticeType,
RealType rAxial,
RealType rEquatorial )

Definition at line 57 of file shapedLatticeEllipsoid.cpp.

Member Function Documentation

◆ isInterior()

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

Determines whether a point lies within an ellipsoid centered at origin (0,0,0).

Implements OpenMD::shapedLattice.

Definition at line 82 of file shapedLatticeEllipsoid.cpp.

References isInterior().

Referenced by isInterior().


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