ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
psi::Range Struct Reference

#include <psi.h>

Collaboration diagram for psi::Range:

Public Member Functions

 Range (const size_t range_in)
 
 Range (const bool k_first_in, const size_t index_1_in, const size_t range_1_in, const size_t range_2_in)
 

Public Attributes

bool k_first
 k_first = 0: Psi(nbands, nks, nbasis) ; 1: Psi(nks, nbands, nbasis)
 
size_t index_1
 index_1>= 0: target first index; index_1<0: no use
 
size_t range_1
 
size_t range_2
 

Constructor & Destructor Documentation

◆ Range() [1/2]

psi::Range::Range ( const size_t  range_in)

◆ Range() [2/2]

psi::Range::Range ( const bool  k_first_in,
const size_t  index_1_in,
const size_t  range_1_in,
const size_t  range_2_in 
)

Member Data Documentation

◆ index_1

size_t psi::Range::index_1

index_1>= 0: target first index; index_1<0: no use

◆ k_first

bool psi::Range::k_first

k_first = 0: Psi(nbands, nks, nbasis) ; 1: Psi(nks, nbands, nbasis)

◆ range_1

size_t psi::Range::range_1

if index_1>=0, range_1 is the begin of second index with index_1 fixed if index_1<0, range_1 is the begin of first index

◆ range_2

size_t psi::Range::range_2

if index_1>=0, range_2 is the end of second index with index_1 fixed if index_1<0, range_2 is the end of first index


The documentation for this struct was generated from the following files: