- Tested Functions:
- ZeroCountBeyondLmaxTolerated
- read_orb_file(): orbital generators conventionally keep zero-count declaration lines for channels beyond Lmax (e.g. an s-only minimal basis still lists "Number of Porbital--> 0"); these must be tolerated without accessing l_nchi out of bounds
- NormalMultiChannel
- read_orb_file(): channels within Lmax are counted as before
- NonzeroCountBeyondLmaxRejected
- read_orb_file(): a nonzero count beyond Lmax is a malformed file
- ChannelBeforeLmaxRejected
- read_orb_file(): channel lines before the Lmax declaration are malformed, because l_nchi is not allocated yet
- NonNumericCountBeyondLmaxRejected / MissingCountBeyondLmaxRejected
- read_orb_file(): a count that fails numeric extraction (garbage or missing) is malformed; READ_VALUE cannot be used for it because it hides the failure
◆ SetUp()
| void ReadOrbBoundaryTest::SetUp |
( |
| ) |
|
|
inlineoverrideprotected |
◆ TearDown()
| void ReadOrbBoundaryTest::TearDown |
( |
| ) |
|
|
inlineoverrideprotected |
◆ write_orb_file()
| std::string ReadOrbBoundaryTest::write_orb_file |
( |
const std::string & | name, |
|
|
const std::string & | content ) |
|
inlineprotected |
◆ atom
| Atom ReadOrbBoundaryTest::atom |
|
protected |
◆ log_path
| std::string ReadOrbBoundaryTest::log_path |
|
protected |
◆ ofs_running
| std::ofstream ReadOrbBoundaryTest::ofs_running |
|
protected |
◆ orb_path
| std::string ReadOrbBoundaryTest::orb_path |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/abacus-develop/abacus-develop/source/source_cell/unittests/test_read_orb.cpp