ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_relax_nsync.cpp File Reference
#include "source_base/global_variable.h"
#include "source_cell/unitcell.h"
#include "source_io/module_parameter/parameter.h"
#include "source_relax/ions_move_bfgs2.h"
#include "source_relax/lattice_change_basic.h"
#include "source_relax/relax_nsync.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <fstream>
#include <iterator>
#include <string>
#include <vector>
Include dependency graph for test_relax_nsync.cpp:

Classes

class  TestParameters
 Friend helper to mutate PARAM private members in unit tests. More...
class  IonCellOptimizerTest

Namespaces

namespace  unitcell
 Free functions for extracting atom/orbital info from Atom array.

Functions

void unitcell::update_pos_tau (const Lattice &lat, const double *pos, const int ntype, const int nat, Atom *atoms)
 Update the position and tau of the atoms.
void unitcell::setup_cell_after_vc (UnitCell &ucell, std::ofstream &log, const int nspin)
 Setup cell after vc-relaxation.
 TEST_F (IonCellOptimizerTest, RelaxConverged)
 TEST_F (IonCellOptimizerTest, BfgsTradConvergedBeforeMove)
 TEST_F (IonCellOptimizerTest, RelaxNotConverged)
 TEST_F (IonCellOptimizerTest, RelaxNmaxLastStepConverged)
 TEST_F (IonCellOptimizerTest, RelaxNmaxLastStepNotConverged)
 TEST_F (IonCellOptimizerTest, CellRelaxConverged)
 TEST_F (IonCellOptimizerTest, CellRelaxNotConverged)
 TEST_F (IonCellOptimizerTest, CellRelaxForceHistoryNotClearedAcrossCellChange)
 TEST_F (IonCellOptimizerTest, DryRunRelaxNmaxZero)
 TEST_F (IonCellOptimizerTest, CellRelaxFixedLatticeConverged)
 TEST_F (IonCellOptimizerTest, RelaxAllAtomsFixedConverged)
 TEST_F (IonCellOptimizerTest, CellRelaxFixedLatticeNotConverged)

Function Documentation

◆ TEST_F() [1/12]

TEST_F ( IonCellOptimizerTest ,
BfgsTradConvergedBeforeMove  )

◆ TEST_F() [2/12]

TEST_F ( IonCellOptimizerTest ,
CellRelaxConverged  )

◆ TEST_F() [3/12]

TEST_F ( IonCellOptimizerTest ,
CellRelaxFixedLatticeConverged  )

◆ TEST_F() [4/12]

TEST_F ( IonCellOptimizerTest ,
CellRelaxFixedLatticeNotConverged  )

◆ TEST_F() [5/12]

TEST_F ( IonCellOptimizerTest ,
CellRelaxForceHistoryNotClearedAcrossCellChange  )

◆ TEST_F() [6/12]

TEST_F ( IonCellOptimizerTest ,
CellRelaxNotConverged  )

◆ TEST_F() [7/12]

TEST_F ( IonCellOptimizerTest ,
DryRunRelaxNmaxZero  )

◆ TEST_F() [8/12]

TEST_F ( IonCellOptimizerTest ,
RelaxAllAtomsFixedConverged  )

◆ TEST_F() [9/12]

TEST_F ( IonCellOptimizerTest ,
RelaxConverged  )

◆ TEST_F() [10/12]

TEST_F ( IonCellOptimizerTest ,
RelaxNmaxLastStepConverged  )

◆ TEST_F() [11/12]

TEST_F ( IonCellOptimizerTest ,
RelaxNmaxLastStepNotConverged  )

◆ TEST_F() [12/12]

TEST_F ( IonCellOptimizerTest ,
RelaxNotConverged  )