libMesh::OptimizationSystem::ComputeHessian Class Referenceabstract

#include <optimization_system.h>

Public Member Functions

virtual ~ComputeHessian ()
virtual void hessian (const NumericVector< Number > &X, SparseMatrix< Number > &H_f, sys_type &S)=0

Detailed Description

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

Definition at line 116 of file optimization_system.h.

Constructor & Destructor Documentation

◆ ~ComputeHessian()

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

Definition at line 119 of file optimization_system.h.

119 {}

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: