G+Smo  24.08.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsOptimizer< T > Class Template Referenceabstract

Detailed Description

template<typename T>
class gismo::gsOptimizer< T >

Class defining an optimizer.

+ Inheritance diagram for gsOptimizer< T >:
+ Collaboration diagram for gsOptimizer< T >:

Public Member Functions

 gsOptimizer ()
 
virtual bool intermediateCallback ()
 Callback function is executed after every iteration. Returning false causes premature termination of the optimization.
 
virtual ~gsOptimizer ()
 

Protected Attributes

gsMatrix< T > m_curDesign
 Current design variables (and starting point )
 
gsOptionList m_options
 Options.
 

Private Member Functions

Methods to block default compiler methods.

The compiler automatically generates the following three methods. Since the default compiler implementation is generally not what you want (for all but the most simple classes), we usually put the declarations of these methods in the private section and never implement them. This prevents the compiler from implementing an incorrect "default" behavior without us knowing. (See e.g. Scott Meyers book, "Effective C++")

 gsOptimizer (const gsOptimizer &)
 
gsOptimizeroperator= (const gsOptimizer &)
 

Constructor & Destructor Documentation

gsOptimizer ( )
inline

default constructor

virtual ~gsOptimizer ( )
inlinevirtual

default destructor