ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_dftu_nao_folding.cpp File Reference
#include "source_cell/unitcell.h"
#include "../dftu_nao_folding.h"
#include "source_basis/module_ao/parallel_orbitals.h"
#include "gtest/gtest.h"
#include <string>
Include dependency graph for test_dftu_nao_folding.cpp:

Namespaces

namespace  DFTU_LCAO

Functions

int DFTU_LCAO::get_linear_index (const std::string &ks_solver, int mu, int nu, const Parallel_Orbitals &pv)
 Get the linear index of local matrix element (mu, nu) based on ks_solver (column-major or row-major).
 DFTU_LCAO::TEST (GetLinearIndexTest, RowMajor)
 DFTU_LCAO::TEST (GetLinearIndexTest, ColumnMajor)