Input/Output
SmoothedParticles.DataStorage
— TypeDataStorage
Storage for paraview input/output.
SmoothedParticles.import_particles!
— Methodimport_particles!(sys::ParticleSystem, path::String, particle_constructor::Function)
Imports particles from a vtk file in 'path' using 'constructor' and add them to sys
.
SmoothedParticles.new_pvd_file
— Methodnew_pvd_file(path::String)::DataStorage
Cteates new DataStorage
in a given path
.
SmoothedParticles.save_frame!
— Methodsave_frame!(data::DataStorage, sys::ParticleSystem, vars::DataField...)
Inserts one time frame into a DataStorage
that includes all vars...
as fields.
SmoothedParticles.save_pvd_file
— Methodsave_pvd_file(data::DataStorage)
Saves and closes DataStorage
.