ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_mock_remake_cell.h
Go to the documentation of this file.
1#ifndef MOCK_REMAKE_CELL_H
2#define MOCK_REMAKE_CELL_H
3
5
6#include <string>
7
8namespace unitcell
9{
10// Mock state tracking
11extern bool remake_cell_called;
12extern std::string remake_cell_latName;
13extern ModuleBase::Matrix3 remake_cell_latvec;
14
15// Mock implementation of remake_cell
16void remake_cell(Lattice &lat);
17
18// Helper functions for testing
21} // namespace unitcell
22
23#endif // MOCK_REMAKE_CELL_H
Free functions for extracting atom/orbital info from Atom array.
Definition bcast_cell.cpp:8
void remake_cell(Lattice &lat)
Adjust lattice vectors for constrained vc-relaxation.
Definition update_cell.cpp:13
void reset_remake_cell_mock()
Definition test_ions_move_methods.cpp:81
bool was_remake_cell_called()
Definition test_ions_move_methods.cpp:89
Data structures for unit cell information.