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 | Public Attributes | Private Attributes | List of all members
DICe::NLVC_Strain_Post_Processor Class Reference

A specific instance of post processor that computes Nonlocal Vector Calculus (NLVC) strains. More...

#include <DICe_PostProcessor.h>

Inheritance diagram for DICe::NLVC_Strain_Post_Processor:
DICe::Post_Processor

Public Member Functions

 NLVC_Strain_Post_Processor (const Teuchos::RCP< Teuchos::ParameterList > &params)
 
virtual ~NLVC_Strain_Post_Processor ()
 Virtual destructor.
 
virtual void set_params (const Teuchos::RCP< Teuchos::ParameterList > &params)
 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.
 
void compute_kernel (const scalar_t &dx, const scalar_t &dy, scalar_t &kx, scalar_t &ky)
 
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 > &params)
 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 horizon_
 Neighborhood diameter (circular distance around the point of interest where the interaction is non-negligible)
 

Additional Inherited Members

- Protected Attributes inherited from DICe::Post_Processor
Teuchos::RCP< DICe::mesh::Meshmesh_
 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_Specfield_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
 

Detailed Description

A specific instance of post processor that computes Nonlocal Vector Calculus (NLVC) strains.

The NLVC Strain is computed by using the nonlocal correlary of the derivative operator

Constructor & Destructor Documentation

◆ NLVC_Strain_Post_Processor()

DICe::NLVC_Strain_Post_Processor::NLVC_Strain_Post_Processor ( const Teuchos::RCP< Teuchos::ParameterList > &  params)

Default constructor

Parameters
paramsthe parameters to use for this post processor

Member Function Documentation

◆ compute_kernel()

void DICe::NLVC_Strain_Post_Processor::compute_kernel ( const scalar_t dx,
const scalar_t dy,
scalar_t kx,
scalar_t ky 
)

compute the nonlocal kernel values

Parameters
dxdistance in x,
dydistance in y,
kx[out] returned kernel value in x
ky[out] returned kernel value in y