libMesh

Abstract base class to be used to calculate the gradient of an objective function. More...
#include <optimization_system.h>
Public Member Functions  
virtual  ~ComputeGradient () 
virtual void  gradient (const NumericVector< Number > &X, NumericVector< Number > &grad_f, sys_type &S)=0 
This function will be called to compute the gradient of the objective function, and must be implemented by the user in a derived class. More...  
Abstract base class to be used to calculate the gradient of an objective function.
Definition at line 95 of file optimization_system.h.

virtual 
Definition at line 98 of file optimization_system.h.

pure virtual 
This function will be called to compute the gradient of the objective function, and must be implemented by the user in a derived class.
Set grad_f
to be the gradient at the iterate X
.