YaDICs  V04.14.a
Yet another Digital Image Correlation software: platform dedicated to 2/3D Fluid and Solid kinematics field measurements.
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
CshapeFunction_global_brasilian< T, Timg > Class Template Reference

This class implements Brasilian shape functions available for 2D case (isotropic elasticity). The implemented mode is called "B" and a link toward Homogeneous modes is provided. Brasilian mode within the entire set of required modes by user is noted "m_modB" and the identified parameter is 1/E with E the Young modulus: More...

#include <CshapeFunction_global_brasilian.h>

Inheritance diagram for CshapeFunction_global_brasilian< T, Timg >:
CshapeFunction_global_homogeneous< T, Timg > CshapeFunction_global_rigidBody< T, Timg > CshapeFunction_global< T, Timg > CshapeFunction< T, Timg >

Public Member Functions

virtual void init (CParameterNetCDF &fp)
 
virtual void exec (const CImg< Timg > &box, const std::vector< T > &x, CImgList< T > &N)
 
- Public Member Functions inherited from CshapeFunction_global_homogeneous< T, Timg >
void set (const std::vector< T > &x, const std::vector< int > &md, const std::vector< int > &rg, CImgList< T > &N)
 
shape (const int &dim, const int &range, const std::vector< T > &x)
 
- Public Member Functions inherited from CshapeFunction_global_rigidBody< T, Timg >
void set (const std::vector< T > &x, const std::vector< int > &md, const std::vector< int > &rg, CImgList< T > &N)
 
shape (const int &dim, const int &range, const std::vector< T > &x)
 

Public Attributes

std::vector< int > m_modB
 
double m_nu
 
double m_r
 
std::vector< double > m_f
 
double m_k0
 
double m_k1
 
- Public Attributes inherited from CshapeFunction_global_homogeneous< T, Timg >
std::vector< int > m_modHD
 
std::vector< int > m_range
 
- Public Attributes inherited from CshapeFunction_global_rigidBody< T, Timg >
std::vector< int > m_modRB
 
std::vector< int > m_range
 
- Public Attributes inherited from CshapeFunction< T, Timg >
std::string class_name
 
std::string m_type
 
std::string m_name
 
int m_dof
 
float m_pi
 
std::vector< std::string > m_mods
 
bool m_verbose
 
const char * m_paramPath
 
int _3D
 

Detailed Description

template<typename T, typename Timg>
class CshapeFunction_global_brasilian< T, Timg >

This class implements Brasilian shape functions available for 2D case (isotropic elasticity). The implemented mode is called "B" and a link toward Homogeneous modes is provided. Brasilian mode within the entire set of required modes by user is noted "m_modB" and the identified parameter is 1/E with E the Young modulus:

Parameters
[in]m_modB: std::vector<int>.
[in]m_nu: <double> Poisson factor.
[in]m_r: <double> the circle radius (in pixels).
[in]m_f: std::vector<double> the force (in N).
Todo:
Different points should be improved : (1) the internal calcul of m_r based on the mask provided by users and (2) a way to provide a m_f vector, not only a scalar, for list image correlation. The problem come from the fact there is no direct link between the current image number (known within main.cpp) and this class which is implemented such as: CshapeFunction -> Ccorrelation -> Csequence -> main

Member Function Documentation

template<typename T , typename Timg >
virtual void CshapeFunction_global_brasilian< T, Timg >::exec ( const CImg< Timg > &  box,
const std::vector< T > &  x,
CImgList< T > &  N 
)
inlinevirtual

inspired from "some Basic Problems of the Mathematical Theory of Elasticity" - only for 2D N[0] corresponds to the real part of the complex field expression at coorrdonate (x,y) N[1] corresponds to the imaginary part

Reimplemented from CshapeFunction_global_homogeneous< T, Timg >.

template<typename T , typename Timg >
virtual void CshapeFunction_global_brasilian< T, Timg >::init ( CParameterNetCDF &  fp)
inlinevirtual

Be carefull, following test for homogeneous deformation mods catching required that the mod begin by the letter "B" in parameter file!//

Todo:
find a way to move "frame_number" variable from global (code) to local //

Reimplemented from CshapeFunction_global_homogeneous< T, Timg >.


The documentation for this class was generated from the following file: