21 std::array<ModuleBase::Vector3<double>, 3>
axes;
30 double relative_tolerance,
44 const std::vector<double>& weights,
62 double relative_tolerance,
71 const std::vector<double>& weights,
3x3 matrix and related mathamatical operations
Definition matrix3.h:15
3 elements vector
Definition vector3.h:21
Definition clebsch_gordan_coeff.cpp:8
Free functions for extracting atom/orbital info from Atom array.
Definition bcast_cell.cpp:8
bool make_slab_cell(const ModuleBase::Matrix3 &lattice, const double lattice_scale, const int open_axis, const double relative_tolerance, SlabCell &cell)
Definition cell_geometry.cpp:80
bool make_orthogonal_cell(const ModuleBase::Matrix3 &lattice, const double lattice_scale, const double relative_tolerance, OrthogonalCell &cell)
Definition cell_geometry.cpp:10
ModuleBase::Vector3< double > relative_position(const ModuleBase::Vector3< double > &position, const OrthogonalCell &cell)
Definition cell_geometry.cpp:43
ModuleBase::Vector3< double > weighted_center(const std::vector< ModuleBase::Vector3< double > > &positions, const std::vector< double > &weights, const OrthogonalCell &cell)
Definition cell_geometry.cpp:60
double relative_coordinate(const ModuleBase::Vector3< double > &position, const SlabCell &cell)
Normal displacement in [-L/2, L/2); requires a validated cell and position.
Definition cell_geometry.cpp:109
Definition cell_geometry.h:20
ModuleBase::Vector3< double > origin
Definition cell_geometry.h:23
std::array< double, 3 > lengths
Definition cell_geometry.h:22
std::array< ModuleBase::Vector3< double >, 3 > axes
Definition cell_geometry.h:21
Definition cell_geometry.h:50
double area
Definition cell_geometry.h:53
double origin
Definition cell_geometry.h:54
ModuleBase::Vector3< double > normal
Definition cell_geometry.h:51
double length
Definition cell_geometry.h:52