1#ifndef TEST_OPERATOR_BASIS_H
2#define TEST_OPERATOR_BASIS_H
15 const std::size_t norbital =
static_cast<std::size_t
>(cell.
atoms[0].
nw);
17 for (
int it = 0; it < cell.
ntype; ++it)
20 range[it][0].N = norbital;
int nw
number of local orbitals (l,n,m) of this type
Definition atom_spec.h:36
Canonical atom-major flattening of the LCAO basis hierarchy.
Definition basis_flattened_indexing.h:40
Provide the basic information about unitcell.
Definition unitcell.h:16
int ntype
number of atom species in UnitCell
Definition unitcell.h:154
Atom * atoms
Definition unitcell.h:165
const int & get_npol() const
Get npol.
Definition unitcell.h:66
std::vector< int > iat2it
iat==>it, distinguish a atom belong to which type
Definition unitcell.h:156
IndexLNM construct_index(const Range &range)
Definition element_basis_index.cpp:12
std::vector< Index_T > IndexLNM
Definition element_basis_index.h:42
std::vector< std::vector< NM > > Range
Definition element_basis_index.h:41
Definition test_operator_basis.h:10
BasisFlattenedIndexing make_s_orbital_basis(const UnitCell &cell)
Definition test_operator_basis.h:13