votca 2024.2-dev
|
#include <orthorhombicbox.h>
Public Member Functions | |
Eigen::Vector3d | BCShortestConnection (const Eigen::Vector3d &r_i, const Eigen::Vector3d &r_j) const final |
virtual std::unique_ptr< BoundaryCondition > | Clone () const final |
Safe way to allow child classes to be copied. | |
eBoxtype | getBoxType () const noexcept final |
Public Member Functions inherited from votca::csg::BoundaryCondition | |
virtual | ~BoundaryCondition ()=default |
void | setBox (const Eigen::Matrix3d &box) noexcept |
const Eigen::Matrix3d & | getBox () const noexcept |
double | getShortestBoxDimension () const |
Self explanatory gets the shortest dimension of the boundary conditions. | |
virtual double | BoxVolume () const noexcept |
Additional Inherited Members | |
Public Types inherited from votca::csg::BoundaryCondition | |
enum | eBoxtype { typeAuto = 0 , typeTriclinic , typeOrthorhombic , typeOpen } |
Protected Attributes inherited from votca::csg::BoundaryCondition | |
Eigen::Matrix3d | box_ |
Definition at line 27 of file orthorhombicbox.h.
|
finalvirtual |
get shortest connection vector between r_i and r_j with respect to the (periodic) box
Implements votca::csg::BoundaryCondition.
Definition at line 24 of file orthorhombicbox.cc.
|
inlinefinalvirtual |
Safe way to allow child classes to be copied.
The child classes must use the same method and override it with their type for this to work.
Implements votca::csg::BoundaryCondition.
Definition at line 33 of file orthorhombicbox.h.
|
inlinefinalvirtualnoexcept |
Implements votca::csg::BoundaryCondition.
Definition at line 37 of file orthorhombicbox.h.