ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
BFGSTest Class Reference
Inheritance diagram for BFGSTest:
Collaboration diagram for BFGSTest:

Protected Member Functions

void SetUp () override
void TearDown () override
const std::vector< std::vector< double > > & get_H () const
const std::vector< ModuleBase::Vector3< double > > & get_pos () const
const std::vector< double > & get_pos0 () const
const std::vector< ModuleBase::Vector3< double > > & get_pos_taud () const
const std::vector< double > & get_pos_taud0 () const
const std::vector< ModuleBase::Vector3< double > > & get_force () const
const std::vector< double > & get_force0 () const
const std::vector< double > & get_steplength () const
const std::vector< ModuleBase::Vector3< double > > & get_dpos () const
int get_size () const
double get_alpha () const
double get_maxstep () const
bool get_sign () const
bool get_is_initialized () const
void set_sign (const bool value)
void set_is_initialized (const bool value)
void set_force0 (const std::vector< double > &value)
void set_pos_taud_x (const int i, const double value)
void call_DetermineStep (std::vector< double > &steplength, std::vector< ModuleBase::Vector3< double > > &dpos, double &maxstep)
void call_Update (std::vector< double > &pos, std::vector< double > &force, UnitCell &ucell)
void call_GetPos (UnitCell &ucell)
void call_GetPostaud (UnitCell &ucell)
void call_CalculateLargestGrad (const ModuleBase::matrix &force, UnitCell &ucell)

Protected Attributes

Ions_Move_BFGS2 bfgs

Member Function Documentation

◆ call_CalculateLargestGrad()

void BFGSTest::call_CalculateLargestGrad ( const ModuleBase::matrix & force,
UnitCell & ucell )
inlineprotected

◆ call_DetermineStep()

void BFGSTest::call_DetermineStep ( std::vector< double > & steplength,
std::vector< ModuleBase::Vector3< double > > & dpos,
double & maxstep )
inlineprotected

◆ call_GetPos()

void BFGSTest::call_GetPos ( UnitCell & ucell)
inlineprotected

◆ call_GetPostaud()

void BFGSTest::call_GetPostaud ( UnitCell & ucell)
inlineprotected

◆ call_Update()

void BFGSTest::call_Update ( std::vector< double > & pos,
std::vector< double > & force,
UnitCell & ucell )
inlineprotected

◆ get_alpha()

double BFGSTest::get_alpha ( ) const
inlineprotected

◆ get_dpos()

const std::vector< ModuleBase::Vector3< double > > & BFGSTest::get_dpos ( ) const
inlineprotected

◆ get_force()

const std::vector< ModuleBase::Vector3< double > > & BFGSTest::get_force ( ) const
inlineprotected

◆ get_force0()

const std::vector< double > & BFGSTest::get_force0 ( ) const
inlineprotected

◆ get_H()

const std::vector< std::vector< double > > & BFGSTest::get_H ( ) const
inlineprotected

◆ get_is_initialized()

bool BFGSTest::get_is_initialized ( ) const
inlineprotected

◆ get_maxstep()

double BFGSTest::get_maxstep ( ) const
inlineprotected

◆ get_pos()

const std::vector< ModuleBase::Vector3< double > > & BFGSTest::get_pos ( ) const
inlineprotected

◆ get_pos0()

const std::vector< double > & BFGSTest::get_pos0 ( ) const
inlineprotected

◆ get_pos_taud()

const std::vector< ModuleBase::Vector3< double > > & BFGSTest::get_pos_taud ( ) const
inlineprotected

◆ get_pos_taud0()

const std::vector< double > & BFGSTest::get_pos_taud0 ( ) const
inlineprotected

◆ get_sign()

bool BFGSTest::get_sign ( ) const
inlineprotected

◆ get_size()

int BFGSTest::get_size ( ) const
inlineprotected

◆ get_steplength()

const std::vector< double > & BFGSTest::get_steplength ( ) const
inlineprotected

◆ set_force0()

void BFGSTest::set_force0 ( const std::vector< double > & value)
inlineprotected

◆ set_is_initialized()

void BFGSTest::set_is_initialized ( const bool value)
inlineprotected

◆ set_pos_taud_x()

void BFGSTest::set_pos_taud_x ( const int i,
const double value )
inlineprotected

◆ set_sign()

void BFGSTest::set_sign ( const bool value)
inlineprotected

◆ SetUp()

void BFGSTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void BFGSTest::TearDown ( )
inlineoverrideprotected

Member Data Documentation

◆ bfgs

Ions_Move_BFGS2 BFGSTest::bfgs
protected

The documentation for this class was generated from the following file: