Loading...
Searching...
No Matches
eonc::OptimizerConfig Struct Reference

Declaration of the optimizer class. More...

#include <Optimizer.h>

Static Public Member Functions

static OptimizerConfig fromParams (const Parameters &p)

Public Attributes

Parameters::optimizer_options_t opts
double finiteDifference {0.01}
bool bowlBreakout {false}
PotType potential {PotType::LJ}

Detailed Description

Declaration of the optimizer class.

Configuration extracted from Parameters for the Optimizer hierarchy.

Definition at line 51 of file Optimizer.h.

Member Function Documentation

◆ fromParams()

OptimizerConfig eonc::OptimizerConfig::fromParams ( const Parameters & p)
inlinestatic

Definition at line 57 of file Optimizer.h.

57 {
58 return {p.optimizer_options(), p.main_options().finiteDifference,
59 p.saddle_search_options().confine_positive.bowl_breakout,
60 p.potential_options().potential};
61 }

Member Data Documentation

◆ bowlBreakout

bool eonc::OptimizerConfig::bowlBreakout {false}

Definition at line 54 of file Optimizer.h.

54{false};

◆ finiteDifference

double eonc::OptimizerConfig::finiteDifference {0.01}

Definition at line 53 of file Optimizer.h.

53{0.01};

◆ opts

Parameters::optimizer_options_t eonc::OptimizerConfig::opts

Definition at line 52 of file Optimizer.h.

◆ potential

PotType eonc::OptimizerConfig::potential {PotType::LJ}

Definition at line 55 of file Optimizer.h.


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