@@ -4,7 +4,7 @@ using WriteVTK, Printf
44export make_paraview_collection
55
66"""
7- make_paraview_collection(; dir=pwd(), pvd_name=nothing, files=nothing, file_extension = ".vtk ", time = nothing)
7+ make_paraview_collection(; dir=pwd(), pvd_name=nothing, files=nothing, file_extension = ".vts ", time = nothing)
88
99In case one has a list of `*.vtk` files, this routine creates a `*.pvd` file that can be opened in Paraview.
1010This is useful if you previously saved vtk files but didnt save it as a collection in the code itself.
@@ -13,9 +13,9 @@ Optional options
1313===
1414- `dir`: directory where the `*.vtk` are stored.
1515- `pvd_name`: filename of the resulting `*.pvd` file without extension; if not specified, `full_simulation` is used.
16- - `files`: filenames of the `*.vtk` files without extension; if not specified, all `*.vtk` files in the directory are used.
17- - `file_extension`: file extension of the vtk files. Default is `.vts` but all `vt*` should work.
18- - `time`: time of the timesteps; if not specified, pseudo time steps are assigned.
16+ - `files`: Vector of the `*.vtk` files without extension; if not specified, all `*.vtk` files in the directory are used.
17+ - `file_extension`: file extension of the vtk files. Default is `.vts` but all `vt*` work.
18+ - `time`: Vector of the timesteps; if not specified, pseudo time steps are assigned.
1919"""
2020function make_paraview_collection (; dir= pwd (), pvd_name= nothing , files= nothing , file_extension = " .vts" , time = nothing )
2121
0 commit comments