Write the mesh information into the VTK output files.
Note: the unstructured meshes we write are consisting of voxels, this assumption is built into the code and exploited.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hvs_vtk_file_type), | intent(in) | :: | vtk_file | File handles to the files where the mesh data should be written to. |
||
| type(tem_vrtx_type), | intent(in) | :: | vrtx | Information on the vertices of the mesh |
||
| integer, | intent(in) | :: | nElems | Number of elements in the mesh |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=c_double), | public, | target, allocatable | :: | indata(:) | |||
| integer(kind=c_int), | public, | target, allocatable | :: | indata_int(:) | |||
| integer(kind=c_int_least8_t), | public, | target, allocatable | :: | indata_int8(:) | |||
| character(len=PathLen), | public | :: | headerline | ||||
| character, | public | :: | linebreak | ||||
| logical, | public | :: | use_ascii | ||||
| integer, | public | :: | iVrtx | ||||
| integer, | public | :: | iElem |