#include "source_base/vector3.h"
#include <array>
#include <vector>
Go to the source code of this file.
|
| bool | unitcell::make_orthogonal_cell (const ModuleBase::Matrix3 &lattice, const double lattice_scale, const double relative_tolerance, OrthogonalCell &cell) |
| ModuleBase::Vector3< double > | unitcell::relative_position (const ModuleBase::Vector3< double > &position, const OrthogonalCell &cell) |
| ModuleBase::Vector3< double > | unitcell::weighted_center (const std::vector< ModuleBase::Vector3< double > > &positions, const std::vector< double > &weights, const OrthogonalCell &cell) |
| bool | unitcell::make_slab_cell (const ModuleBase::Matrix3 &lattice, const double lattice_scale, const int open_axis, const double relative_tolerance, SlabCell &cell) |
| double | unitcell::relative_coordinate (const ModuleBase::Vector3< double > &position, const SlabCell &cell) |
| | Normal displacement in [-L/2, L/2); requires a validated cell and position.
|
| double | unitcell::weighted_center (const std::vector< ModuleBase::Vector3< double > > &positions, const std::vector< double > &weights, const SlabCell &cell) |