HM_GenerateMeshParamStruct
Contains information that is used by the HM_ExtAPI::GenerateMesh() function to set meshing parameters in interactive and batch meshing modes.
Syntax
struct HM_GenerateMeshParamStruct {
int size;
double element_size;
int element_order;
int mesh_type;
int mesh_option_flags;
const char* param_file_path;
const char* criteria_file_path;
const char* BM_folder_path;
const char* MA_file_path;
int num_local_batcparamsets;
HM_BatchMeshParamSet* local_batchparamsets;
};
Type
HyperMesh Ext API
Description
This structure contains information that is used by the HM_ExtAPI::GenerateMesh() function to set meshing parameters in interactive and batch meshing modes.
The structure information is declared in hm_extapi.h.
The members are: size, element_size, element_order, mesh_type, mesh_option_flags, param_file_path, criteria_file_path, BM_folder_path, MA_file_path, num_local_batchparamsets, local_batchparamsets
Inputs
- size
- Specifies the length, in bytes, of the structure. Use sizeof(HM_GenerateMeshParamStruct) for this member. This is used to distinguish the current version of HM_GenerateMeshParamStruct from possible future extended versions with additional members.
- element_size
- Specifies the mesh size. This member is ignored if the member param_file_path is not NULL.
- element_order
- Specifies the order (degree) of elements to generate. This member is ignored if the member param_file_path is not NULL.
- mesh_type
- Specifies the type of elements to generate. This member is ignored if the member param_file_path is not NULL.
- mesh_option_flags
- A set of bit flags that can be used to specify additional mesh generation options. This member is ignored if the member param_file_path is not NULL.
- param_file_path
- Name of the text file containing parameters for meshing. If this parameter is NULL then parameters specified by members element_size, element_order, mesh_type, and mesh_option_flags are used to control mesh generation.
- criteria_file_path
- Name of the text file containing criteria parameters for meshing.
- BM_folder_path
- Name of the folder where HyperMesh writes out result files.
- MA_file_path
- Name of the file to write out the model with realized mesh areas given as input in a call to the HM_ExtAPI::GenerateMesh() function and a mesh generated during the call. The file is written out in a format of HyperMesh model file. If this parameter is NULL then the file is not created.
- num_local_batchparamsets
- The number of local batch mesh parameter/criteria file sets used for individual batch meshing of specified topology faces and/or components.
- local_batchparamsets
- Pointer to an array of local batch mesh criteria/parameter file sets used by HM_BatchMeshParamSet for individual batch meshing of specified topology faces and/or components. The number of values in the array must not be smaller than the value specified by num_local_batchparamsets.
Errors
None.