libMesh
Public Member Functions | List of all members
libMesh::OptimizationSystem::ComputeHessian Class Referenceabstract

Abstract base class to be used to calculate the Hessian of an objective function. More...

#include <optimization_system.h>

Inheritance diagram for libMesh::OptimizationSystem::ComputeHessian:
[legend]

Public Member Functions

virtual ~ComputeHessian ()=default
 
virtual void hessian (const NumericVector< Number > &X, SparseMatrix< Number > &H_f, sys_type &S)=0
 This function will be called to compute the Hessian of the objective function, and must be implemented by the user in a derived class. More...
 

Detailed Description

Abstract base class to be used to calculate the Hessian of an objective function.

Definition at line 121 of file optimization_system.h.

Constructor & Destructor Documentation

◆ ~ComputeHessian()

virtual libMesh::OptimizationSystem::ComputeHessian::~ComputeHessian ( )
virtualdefault

Member Function Documentation

◆ hessian()

virtual void libMesh::OptimizationSystem::ComputeHessian::hessian ( const NumericVector< Number > &  X,
SparseMatrix< Number > &  H_f,
sys_type S 
)
pure virtual

This function will be called to compute the Hessian of the objective function, and must be implemented by the user in a derived class.

Set H_f to be the gradient at the iterate X.

Referenced by libMesh::__libmesh_tao_hessian().


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