You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
firstly, thank you for this great Fortran lib.
I think the main advantage of the multiblock data set of VTK among others (ie. Tecplot) is that you can freely group the parts (datasets) and assemblies (blocks) just like CAD program hierarchy. For example:
Block Index = 0
DataSet Index = 0
Dataset Index = 1
Block Index = 2
Dataset Index = 0
Dataset Index = 1
EndBlock
DataSet Index = 3
Block Index = 4
Block Index = 0
DataSet Index = 0
EndBlock
Block Index = 1
DataSet Index = 0
DataSet Index = 1
DataSet Index = 2
EndBlock
EndBlock
EndBlock
Current structure of your vtm writer does not allow this type of grouping. Will the lib support this hierarchy type of multiblock dataset?
I could achieve this by making some little changes and additions in vtk_fortran_vtm_file module. I moved vtm related functions from xml_write type and module to vtm_file type and module. And also added blocks(:) (of type including hierarchy level and index parameters) array (to get the parent block no), index (instead of vtm_block) etc. in vtm_file type. I added some coding in some functions such as parent search loop in write_parallel_open_block and write_parallel_block_files.. and index change lines.
Of course providing the block and dataset hierarchy should be the responsibility of the user. So, I think the user can achieve to write according to the hierarcy by using not ..%write_block but using..%write_parallel_open_block , ..%write_parallel_block_files.., %write_parallel_close_block functions by him/herself.
Regard,
Emrah
The text was updated successfully, but these errors were encountered:
Hi, thank you very much for your feedback. Currently I am out of my office for my holiday, I will back at the of August, as soon as possible I will keep this issue on.
Hi,
firstly, thank you for this great Fortran lib.
I think the main advantage of the multiblock data set of VTK among others (ie. Tecplot) is that you can freely group the parts (datasets) and assemblies (blocks) just like CAD program hierarchy. For example:
Block Index = 0
DataSet Index = 0
Dataset Index = 1
Block Index = 2
Dataset Index = 0
Dataset Index = 1
EndBlock
DataSet Index = 3
Block Index = 4
Block Index = 0
DataSet Index = 0
EndBlock
Block Index = 1
DataSet Index = 0
DataSet Index = 1
DataSet Index = 2
EndBlock
EndBlock
EndBlock
Current structure of your vtm writer does not allow this type of grouping. Will the lib support this hierarchy type of multiblock dataset?
I could achieve this by making some little changes and additions in vtk_fortran_vtm_file module. I moved vtm related functions from xml_write type and module to vtm_file type and module. And also added blocks(:) (of type including hierarchy level and index parameters) array (to get the parent block no), index (instead of vtm_block) etc. in vtm_file type. I added some coding in some functions such as parent search loop in write_parallel_open_block and write_parallel_block_files.. and index change lines.
Of course providing the block and dataset hierarchy should be the responsibility of the user. So, I think the user can achieve to write according to the hierarcy by using not ..%write_block but using..%write_parallel_open_block , ..%write_parallel_block_files.., %write_parallel_close_block functions by him/herself.
Regard,
Emrah
The text was updated successfully, but these errors were encountered: