![]() |
![]() |
![]() |
![]() |
DVtable_to_scat, DVtable_to_unif
Synopsis
H5read_field reads an Express field out of an HDF5 file. H5read_time_field is similar to H5read_field except that it reads in all steps of a time-dependent field.Description
module DVtable_to_scat {
DVtable_xyz_select+Iparam &xyz_select;
DVtable_xyz+Iparam &field_xyz[];
DVtable_data_select+Iparam &data_select;
DVtable_data+Iparam &field_data[];
enum cell_type {
choices = { "Point", "Polyline" };
values = { 0, 1 };
};
Mesh+Node_Data+Oparam out;
string+Oparam x_name;
string+Oparam y_name;
string+Oparam z_name;
omethod+notify_inst+notify_val upd_func<status=1>
= "DVtable_to_scat_update";
};Description
DVtable_to_scat is the core module for table_to_scatter_field. It takes coordinate information in the parameter field_xyz and node data information in field_data and constructs a "scatter" field an unstructured field made up of Point cell sets. DVtable_to_unif is the core module for table_to_uniform_field. It takes coordinate information in the parameter field_xyz and node data information in field_data and constructs a uniform field.
Input
int. A list of node data component indices. For example, {0,2} would mean to read the first and third (counting from 0) node data components, skipping the second component. nodeVars is optional, the default is to read all the components.
int. A list of cell data component indices. For example, {0,2} would mean to read the first and third (counting from 0) cell data components, skipping the second component. cellVars is optional, the default is to read all the components.
Output
x_namey_namez_namex_labelsy_labelsz_labels
The outFld parameter contains the field read from the HDF5 file. The exact type (uniform, rect, etc.) of the field will vary depending on the contents of the HDF5 file.
Example
File
See also
![]() |
![]() |
![]() |
![]() |