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>
|
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 |
|
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 |
|
|
std::vector< int > | m_grid |
|
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 |
|
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:
-
this->m_TnodeDim and this->TelemDim : std::vector<int> refer to the number of node and element respectivelly along X, Y and eventually Z directions. A regular mesh is based on these dimensions vectors.
-
this->m_dof : <int> = this->m_TnodeDim[0] x this->m_TnodeDim[1] x this->m_TnodeDim[2]. It refers to the number of node within the mesh.
-
this->m_node[node](X) : CImgList<T>. The node table provides the coordonate X[x,y,z] of each node.
-
this->m_connect[elem](nodes) : CImgList<T>. The connectivity table provides for each element its associated nodes. In the case of "Cmesh_generate_Q4" every element has 4 nodes.
-
this->m_mask[elem](IND_list) : CImgList<T>. The mask table provides for each element the set of unmasked pixel indices. The dimension of IND_list is equal to 0 for totally masked element and equal the number of unmasked pixels otherwise.
- 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. |
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 >
The documentation for this class was generated from the following file: