Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(type_vtk_cell), | public, | allocatable | :: | cells(:) | |||
character(len=:), | public, | allocatable | :: | dataset | |||
character(len=:), | public, | allocatable | :: | format | |||
type(c_ptr), | private | :: | handle | = | c_null_ptr | ||
integer(kind=int32), | public | :: | num_points | ||||
integer(kind=int32), | public | :: | num_total_cells | ||||
type(type_dp_3d), | public | :: | points | ||||
character(len=4), | private | :: | reader_type | = | "none" |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(type_vtk), | intent(inout) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_vtk), | intent(in) | :: | self |
VTK data |
||
integer(kind=int32), | intent(inout), | allocatable | :: | unique_ids(:) | ||
integer(kind=int32), | intent(out) | :: | ierr |
Read VTK file using C++ backend with the handle pattern
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_vtk), | intent(inout) | :: | self | |||
character(len=*), | intent(in) | :: | file_name | |||
character(len=*), | intent(in) | :: | cell_id_array_name | |||
character(len=*), | intent(in), | optional | :: | field_names(:) | ||
real(kind=real64), | intent(inout), | optional, | allocatable | :: | field_values(:,:) |
Read VTK file using C++ backend with the handle pattern
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(type_vtk), | intent(inout) | :: | self | |||
character(len=*), | intent(in) | :: | file_name | |||
character(len=*), | intent(in) | :: | cell_id_array_name | |||
character(len=*), | intent(in), | optional | :: | field_names(:) | ||
real(kind=real64), | intent(inout), | optional, | allocatable | :: | field_values(:,:) |
type :: type_vtk character(:), allocatable :: format character(:), allocatable :: dataset ! VTK Points data integer(int32) :: num_points type(type_dp_3d) :: points ! VTK Cells data integer(int32) :: num_total_cells type(type_vtk_cell), allocatable :: cells(:) type(c_ptr), private :: handle = c_null_ptr character(4), private :: reader_type = "none" contains procedure :: initialize_vtk => type_vtk_vtk_initialize procedure :: initialize_vtu => type_vtk_vtu_initialize procedure :: get_active_region_info final :: finalize_vtk_object end type type_vtk