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 specific instance of post processor that computes vurtual strain gauge (VSG) strain. More...
#include <DICe_PostProcessor.h>
Public Member Functions | |
VSG_Strain_Post_Processor (const Teuchos::RCP< Teuchos::ParameterList > ¶ms) | |
virtual | ~VSG_Strain_Post_Processor () |
Virtual destructor. | |
virtual void | set_params (const Teuchos::RCP< Teuchos::ParameterList > ¶ms) |
Set the parameters for this post processor. | |
virtual void | pre_execution_tasks () |
Collect the neighborhoods of each of the points. | |
virtual int_t | strain_window_size () |
See base clase docutmentation. | |
virtual void | execute () |
Execute the post processor. | |
void | initialize_neighborhood (const scalar_t &neighborhood_radius) |
See base class documentation. | |
std::vector< DICe::field_enums::Field_Spec > * | field_specs () |
See base class documentation. | |
Public Member Functions inherited from DICe::Post_Processor | |
Post_Processor (const std::string &name) | |
Default constructor. More... | |
virtual | ~Post_Processor () |
Pure virtual destructor. | |
void | initialize (Teuchos::RCP< DICe::mesh::Mesh > &mesh) |
void | initialize_neighborhood (const scalar_t &neighborhood_radius) |
void | set_field_names (const Teuchos::RCP< Teuchos::ParameterList > ¶ms) |
Set the field names. | |
void | set_stereo_field_names () |
Default to the model fields for post processors. | |
void | update_current_frame_id (const int_t frame_id) |
update the id of the current frame | |
std::vector< DICe::field_enums::Field_Spec > * | field_specs () |
Return a pointer to the field spec vector. | |
Public Attributes | |
bool | neighborhood_initialized_ |
See base class documentation. | |
Private Attributes | |
int_t | window_size_ |
Window size for the virtual strain gauge (in pixels) | |
Additional Inherited Members | |
Protected Attributes inherited from DICe::Post_Processor | |
Teuchos::RCP< DICe::mesh::Mesh > | mesh_ |
Pointer to the mesh to access fields and discretization. | |
std::string | name_ |
String name of this post processor. | |
int_t | local_num_points_ |
Number of points local to this processor. | |
int_t | overlap_num_points_ |
Number of overalp points. | |
std::vector< DICe::field_enums::Field_Spec > | field_specs_ |
The collection of field names specific to this post processor. | |
Teuchos::RCP< Point_Cloud_2D< scalar_t > > | point_cloud_ |
pointer to the point cloud used for the neighbor searching | |
std::vector< std::vector< int_t > > | neighbor_list_ |
array holding the number of neighbors for each point | |
std::vector< std::vector< scalar_t > > | neighbor_dist_x_ |
array holding the signed x distances for each neighbor in one long strided array | |
std::vector< std::vector< scalar_t > > | neighbor_dist_y_ |
array holding the signed y distances for each neighbor in one long strided array | |
bool | neighborhood_initialized_ |
true when the neighbor lists have been constructed | |
std::string | coords_x_name_ |
holds the field name to be used for coordinates field | |
std::string | coords_y_name_ |
holds the field name to be used for coordinates field | |
std::string | disp_x_name_ |
holds the field name to be used for coordinates field | |
std::string | disp_y_name_ |
holds the field name to be used for coordinates field | |
bool | has_custom_field_names_ |
true if the fields have been customized | |
int | current_frame_id_ |
store the current frame number for output if needed | |
A specific instance of post processor that computes vurtual strain gauge (VSG) strain.
The VSG strain is computed by doing a least-squares fit of the data and computing the strain using the coefficients of the fitted polynomial. It is well know that for large neighborhood sizes or VSG window size, this method will be very diffusive and smooth features out of the strain profile.
DICe::VSG_Strain_Post_Processor::VSG_Strain_Post_Processor | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params | ) |
Default constructor
params | Pointer to the set of parameters for this post processor |