Loading...
Searching...
No Matches
eonc::ObjectiveFunction Class Referenceabstract

#include <ObjectiveFunction.h>

Inheritance diagram for eonc::ObjectiveFunction:

Public Member Functions

 ObjectiveFunction (const Parameters &paramsPassed)
virtual ~ObjectiveFunction ()
virtual double getEnergy ()=0
virtual VectorXd getGradient (bool fdstep=false)=0
virtual void setPositions (const VectorXd &x)=0
virtual VectorXd getPositions ()=0
virtual int degreesOfFreedom ()=0
virtual bool isConverged ()=0
virtual double getConvergence ()=0
virtual VectorXd difference (const VectorXd &a, const VectorXd &b)=0

Protected Attributes

const Parametersparams

Detailed Description

Definition at line 18 of file ObjectiveFunction.h.

Constructor & Destructor Documentation

◆ ObjectiveFunction()

eonc::ObjectiveFunction::ObjectiveFunction ( const Parameters & paramsPassed)
inline

Definition at line 23 of file ObjectiveFunction.h.

24 : params{paramsPassed} {}
const Parameters & params

◆ ~ObjectiveFunction()

virtual eonc::ObjectiveFunction::~ObjectiveFunction ( )
inlinevirtual

Definition at line 25 of file ObjectiveFunction.h.

25{}

Member Function Documentation

◆ degreesOfFreedom()

◆ difference()

◆ getConvergence()

◆ getEnergy()

◆ getGradient()

◆ getPositions()

◆ isConverged()

◆ setPositions()

Member Data Documentation

◆ params

const Parameters& eonc::ObjectiveFunction::params
protected

Definition at line 20 of file ObjectiveFunction.h.


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