Digital Image Correlation Engine
Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
|
a class that peforms a Nelde-Mead type optimization More...
#include <DICe_Simplex.h>
Public Member Functions | |
Subset_Simplex (const DICe::Objective *const obj, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) | |
Default constructor. More... | |
virtual | ~Subset_Simplex () |
destructor | |
virtual scalar_t | objective (Teuchos::RCP< std::vector< scalar_t > > variables) |
the objective function that the simplex method is optimizing More... | |
Status_Flag | minimize (Teuchos::RCP< Local_Shape_Function > shape_function, int_t &num_iterations, const scalar_t &threshold=1.0E-10) |
virtual Status_Flag | minimize (Teuchos::RCP< std::vector< scalar_t > > variables, Teuchos::RCP< std::vector< scalar_t > > deltas, int_t &num_iterations, const scalar_t &threshold=1.0E-10) |
Public Member Functions inherited from DICe::Simplex | |
Simplex (const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) | |
Default constructor. More... | |
virtual | ~Simplex () |
destructor | |
virtual Status_Flag | minimize (Teuchos::RCP< std::vector< scalar_t > > variables, Teuchos::RCP< std::vector< scalar_t > > deltas, int_t &num_iterations, const scalar_t &threshold=1.0E-10) |
Returns the status of the algorithm when complete. More... | |
Protected Attributes | |
const DICe::Objective *const | obj_ |
Pointer to a DICe::Objective, used to gain access to objective methods like gamma() | |
Teuchos::RCP< Local_Shape_Function > | shape_function_ |
Pointer to a shape function class. | |
Protected Attributes inherited from DICe::Simplex | |
int_t | max_iterations_ |
Maximum allowed iterations for convergence. | |
double | tolerance_ |
Convergence tolerance. | |
scalar_t | tiny_ |
Numerically small value. | |
a class that peforms a Nelde-Mead type optimization
DICe::Subset_Simplex::Subset_Simplex | ( | const DICe::Objective *const | obj, |
const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
) |
Default constructor.
obj | Pointer to a DICe::Objective, used to gain access to the gamma() method of the objective |
params | Paramters that define the varaitions on the initial guess, convergence tolerance and max number of iterations |
virtual Status_Flag DICe::Simplex::minimize |
call the minimization routine
shape_function | pointer to a shape function |
num_iterations | the number of iterations |
threshold | the convergence threshold |
|
virtual |
the objective function that the simplex method is optimizing
variables | the current guess at which to evaluate the objective |
Implements DICe::Simplex.