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 | List of all members
Cmesh_generate_regularFem< T, Timg > Class Template Reference

Class is based on Q4 elements, i.e. 4 nodes elements. This class works on 7 main attributes declared within the mother class: More...

#include <Cmesh_generate_regularFem.h>

Inheritance diagram for Cmesh_generate_regularFem< T, Timg >:
Cmesh_generate< T, Timg > Cmesh< T, Timg > Cmesh_generate_centroid< T, Timg > Cmesh_generate_centroid_integrated< T, Timg >

Public Member Functions

virtual int get_attributes (CParameterNetCDF &fp)
 
virtual int assign (const Cimage< Timg > &oImage)
 
virtual void set_nodes (const Cimage< Timg > &oImage, CImgList< T > &nodes)
 
virtual void set_connectivity (const Cimage< Timg > &oImage, const CImgList< T > &nodes, CImgList< int > &elements)
 
virtual int cropList (const Cimage< Timg > &oImage, const int &elem, CImg< Timg > &list, std::vector< T > &coord0) const
 
virtual int grid_dims (const int &i) const
 
- Public Member Functions inherited from Cmesh< T, Timg >
virtual int exec (const Cimage< Timg > &oImage)
 
void init (CParameterNetCDF &fp)
 
int num_node () const
 
int num_elem () const
 
int num_var () const
 
virtual int num_mod () const
 

Additional Inherited Members

- Public Attributes inherited from Cmesh_generate< T, Timg >
std::vector< int > m_grid
 
- Public Attributes inherited from Cmesh< T, Timg >
std::string class_name
 
std::string m_type
 
std::string m_name
 
std::vector< std::string > m_componentName
 
CImgList< T > m_node
 
CImgList< int > m_connect
 
int _3D
 
int m_threadNB
 
int m_numPix
 
int m_storeMesh
 
bool m_verbose
 
int m_dof
 
std::vector< int > m_pitch
 
std::vector< int > m_win
 

Detailed Description

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

Class is based on Q4 elements, i.e. 4 nodes elements. This class works on 7 main attributes declared within the mother class:

Parameters
[in]this->m_pitch: std::vector<int>[3]. It stores the x, y and z pitch between nodes. So, this is also the element dimensions.

Member Function Documentation

template<typename T , typename Timg >
virtual int Cmesh_generate_regularFem< T, Timg >::cropList ( const Cimage< Timg > &  oImage,
const int &  elem,
CImg< Timg > &  list,
std::vector< T > &  coord0 
) const
inlinevirtual

Extract sub_box from global image one using node and element table. If one element possess one masked pixel, it is not taking into account.
Notice such a convention has been take into account to avoid some troubles when pixels arround one node are masked.

Reimplemented from Cmesh_generate< T, Timg >.

Reimplemented in Cmesh_generate_centroid_integrated< T, Timg >.

template<typename T , typename Timg >
virtual void Cmesh_generate_regularFem< T, Timg >::set_connectivity ( const Cimage< Timg > &  oImage,
const CImgList< T > &  nodes,
CImgList< int > &  elements 
)
inlinevirtual
template<typename T , typename Timg >
virtual void Cmesh_generate_regularFem< T, Timg >::set_nodes ( const Cimage< Timg > &  oImage,
CImgList< T > &  nodes 
)
inlinevirtual

$ m_{nodes} = \left[ \begin{array}{c} X \\ Y \\ Z\end{array} \right] \left( \begin{array}{cc} X, & Y, & Z\end{array} \right)$

Implements Cmesh< T, Timg >.


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