Loading...
Searching...
No Matches
gpr::LBFGSInfo Struct Reference

Structure with information for the LBFGS method. More...

#include <structures/Structures.h>

Public Member Functions

void clear ()
void print ()

Public Attributes

std::shared_ptr< dimer::SphereRotation > sphere_rotation
 A copied history starts an independent sphere solve when written.
Index_t num_cg_iter
Index_t num_lbfgs_iter

Detailed Description

Structure with information for the LBFGS method.

Definition at line 977 of file Structures.h.

Member Function Documentation

◆ clear()

void gpr::LBFGSInfo::clear ( )
inline

Definition at line 987 of file Structures.h.

988 {
989 sphere_rotation.reset();
990 num_cg_iter = 0;
991 num_lbfgs_iter = 0;
992 }
Index_t num_cg_iter
Definition Structures.h:981
Index_t num_lbfgs_iter
Definition Structures.h:984
std::shared_ptr< dimer::SphereRotation > sphere_rotation
A copied history starts an independent sphere solve when written.
Definition Structures.h:979

◆ print()

void gpr::LBFGSInfo::print ( )
inline

Definition at line 995 of file Structures.h.

996 {
997 io::LogManager log_man;
998
999 log_man << "num_cg_iter: " << num_cg_iter << "\n";
1000 log_man << "num_lbfgs_iter: " << num_lbfgs_iter << "\n";
1001 }

Member Data Documentation

◆ num_cg_iter

Index_t gpr::LBFGSInfo::num_cg_iter

Maximum number of conjugate gradient iterations before resetting the conjugate directions

Definition at line 981 of file Structures.h.

◆ num_lbfgs_iter

Index_t gpr::LBFGSInfo::num_lbfgs_iter

Maximum number of previous LBFGS iterations kept in memory

Definition at line 984 of file Structures.h.

◆ sphere_rotation

std::shared_ptr<dimer::SphereRotation> gpr::LBFGSInfo::sphere_rotation

A copied history starts an independent sphere solve when written.

Definition at line 979 of file Structures.h.


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