1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2024-12-04 23:50:31 +00:00

Use abstract types

This commit is contained in:
Mo 2022-09-25 23:40:37 +02:00
parent 615cccb46c
commit f3147b0729

View file

@ -172,8 +172,8 @@ The output is `sim_dir/animation.mkv`.
Return `nothing`.
# Arguments
- `sim_dir::String`: Simulation directory.
- `framerate::Int64=$DEFAULT_FRAMERATE`: Framerate
- `sim_dir::AbstractString`: Simulation directory.
- `framerate::Integer=$DEFAULT_FRAMERATE`: Framerate
- `show_center_of_mass::Bool=$DEFAULT_SHOW_CENTER_OF_MASS`: Show the center of mass as transparent white circle.
- `show_interaction_circle::Bool=$DEFAULT_SHOW_INTERACTION_CIRCLE`: Show the interaction radius with a circle around every particle.
- `show_skin_circle::Bool=$DEFAULT_SHOW_SKIN_CIRCLE`: Show the skin radius with a circle around every particle.
@ -181,8 +181,8 @@ Return `nothing`.
- `show_progress::Bool=$DEFAULT_SHOW_PROGRESS`: Show animation progress bar.
"""
function animate(
sim_dir::String;
framerate::Int64=DEFAULT_FRAMERATE,
sim_dir::AbstractString;
framerate::Integer=DEFAULT_FRAMERATE,
show_center_of_mass::Bool=DEFAULT_SHOW_CENTER_OF_MASS,
show_interaction_circle::Bool=DEFAULT_SHOW_INTERACTION_CIRCLE,
show_skin_circle::Bool=DEFAULT_SHOW_SKIN_CIRCLE,