ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
test_ions_move_methods.cpp File Reference
#include "for_test.h"
#include "source_relax/ions_move_methods.h"
#include "source_relax/relax_criteria.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include <algorithm>
#include <cstdio>
#include <fstream>
#include <iterator>
#include <string>
#include <vector>
Include dependency graph for test_ions_move_methods.cpp:

Classes

class  IonsMoveMethodsTest

Namespaces

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

Functions

void unitcell::remake_cell (Lattice &lat)
 Adjust lattice vectors for constrained vc-relaxation.
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::reset_remake_cell_mock ()
bool unitcell::was_remake_cell_called ()
 TEST_F (IonsMoveMethodsTest, Allocate)
 TEST_F (IonsMoveMethodsTest, AllocateWarningQuit)
 TEST_F (IonsMoveMethodsTest, CalMovement)
 TEST_F (IonsMoveMethodsTest, CalMovementWarningQuit)
 TEST_F (IonsMoveMethodsTest, GetEdiff)
 TEST_F (IonsMoveMethodsTest, GetLargestGrad)
 TEST_F (IonsMoveMethodsTest, GetTrustRadius)
 TEST_F (IonsMoveMethodsTest, GetUpdateIter)
 TEST_F (IonsMoveMethodsTest, ResetAfterCellChange)

Function Documentation

◆ TEST_F() [1/9]

TEST_F ( IonsMoveMethodsTest ,
Allocate  )

◆ TEST_F() [2/9]

TEST_F ( IonsMoveMethodsTest ,
AllocateWarningQuit  )

◆ TEST_F() [3/9]

TEST_F ( IonsMoveMethodsTest ,
CalMovement  )

◆ TEST_F() [4/9]

TEST_F ( IonsMoveMethodsTest ,
CalMovementWarningQuit  )

◆ TEST_F() [5/9]

TEST_F ( IonsMoveMethodsTest ,
GetEdiff  )

◆ TEST_F() [6/9]

TEST_F ( IonsMoveMethodsTest ,
GetLargestGrad  )

◆ TEST_F() [7/9]

TEST_F ( IonsMoveMethodsTest ,
GetTrustRadius  )

◆ TEST_F() [8/9]

TEST_F ( IonsMoveMethodsTest ,
GetUpdateIter  )

◆ TEST_F() [9/9]

TEST_F ( IonsMoveMethodsTest ,
ResetAfterCellChange  )
Here is the call graph for this function: