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
Public Member Functions | List of all members
DICe::Quadratic_Shape_Function Class Reference

12 parameter quadratic mapping for local shape function More...

#include <DICe_LocalShapeFunction.h>

Inheritance diagram for DICe::Quadratic_Shape_Function:
DICe::Local_Shape_Function

Public Member Functions

 Quadratic_Shape_Function ()
 constructor
 
virtual ~Quadratic_Shape_Function ()
 virtual destructor
 
virtual void clear ()
 clear the parameters
 
virtual void reset_fields (Schema *schema)
 
virtual void map (const scalar_t &x, const scalar_t &y, const scalar_t &cx, const scalar_t &cy, scalar_t &out_x, scalar_t &out_y)
 see base class description
 
virtual void add_translation (const scalar_t &u, const scalar_t &v)
 see base class description
 
virtual void map_to_u_v_theta (const scalar_t &cx, const scalar_t &cy, scalar_t &out_u, scalar_t &out_v, scalar_t &out_theta)
 see base class description
 
virtual void insert_motion (const scalar_t &u, const scalar_t &v, const scalar_t &theta)
 see base class description
 
virtual void insert_motion (const scalar_t &u, const scalar_t &v)
 see base class description
 
virtual void residuals (const scalar_t &x, const scalar_t &y, const scalar_t &cx, const scalar_t &cy, const scalar_t &gx, const scalar_t &gy, std::vector< scalar_t > &residuals, const bool use_ref_grads=false)
 see base class description
 
virtual void save_fields (Schema *schema, const int_t subset_gid)
 see base class description
 
virtual void update_params_for_centroid_change (const scalar_t &delta_x, const scalar_t &delta_y)
 see base class description
 
- Public Member Functions inherited from DICe::Local_Shape_Function
 Local_Shape_Function ()
 base class constructor
 
virtual ~Local_Shape_Function ()
 virtual destructor
 
int_t num_params () const
 the number of parameters in the shape function
 
std::vector< scalar_t > * parameters ()
 access to the parameter values
 
void print_parameters () const
 print the parameter values to DEBUG_MSG
 
void clone (Teuchos::RCP< Local_Shape_Function > shape_function)
 
virtual void initialize_parameters_from_fields (Schema *schema, const int_t subset_gid)
 
scalar_toperator() (const DICe::field_enums::Field_Spec &spec)
 
scalar_toperator() (const size_t index)
 
scalar_t parameter (const DICe::field_enums::Field_Spec &spec) const
 
void update (const std::vector< scalar_t > &update)
 
virtual bool test_for_convergence (const std::vector< scalar_t > &old_parameters, const scalar_t &tol)
 
Teuchos::RCP< std::vector< scalar_t > > rcp ()
 
Teuchos::RCP< std::vector< scalar_t > > deltas ()
 returns a pointer to the vector of delta values for this shape function
 
std::map< DICe::field_enums::Field_Spec, size_t > * spec_map ()
 returns a pointer to the spec map
 

Additional Inherited Members

- Protected Attributes inherited from DICe::Local_Shape_Function
std::vector< scalar_tparameters_
 a vector that holds the parameters of the shape function
 
std::vector< scalar_tdeltas_
 a vector that holds the deltas to use for a simplex method
 
int_t num_params_
 the total number of degrees of freedom
 
std::map< DICe::field_enums::Field_Spec, size_t > spec_map_
 stores the associated field with each DOF and the corresponding parameter index
 

Detailed Description

12 parameter quadratic mapping for local shape function

Member Function Documentation

◆ reset_fields()

virtual void DICe::Quadratic_Shape_Function::reset_fields ( Schema schema)
virtual

clears all the fields associated with this shape function

Parameters
schemapointer to a schema that holds the mesh with the fields

Reimplemented from DICe::Local_Shape_Function.