1
0
Fork 0
mirror of https://gitlab.rlp.net/mobitar/ReCo.jl.git synced 2025-09-04 09:12:35 +00:00

Fix typos

This commit is contained in:
Mo8it 2022-02-08 21:20:18 +01:00
parent 88f8ea2aba
commit 89cc431fd2
12 changed files with 86 additions and 85 deletions

View file

@ -82,7 +82,7 @@ function gen_COM_graphics()
##
Drawing(box_length, box_height, "$graphics_export_dir/circular_projectiong.pdf")
Drawing(box_length, box_height, "$graphics_export_dir/circular_projection.pdf")
origin()
fontsize(5)

View file

@ -7,20 +7,20 @@ using ReCo: ReCo
function gen_periodic_boundary_conditions_graphics()
Random.seed!(23)
drwaing_box_length = 300
drawing_box_length = 300
graphics_export_dir = "exports/graphics"
mkpath(graphics_export_dir)
Drawing(
drwaing_box_length,
drwaing_box_length,
drawing_box_length,
drawing_box_length,
"$graphics_export_dir/periodic_boundary_conditions.pdf",
)
origin()
particle_radius = 10
box_len = drwaing_box_length / 3
box_len = drawing_box_length / 3
half_box_len = box_len / 2
N_in_one_box = 5
@ -79,13 +79,13 @@ function gen_periodic_boundary_conditions_graphics()
setline(1.0)
for line_factor in (-3, -1, 1, 3)
line(
Point(line_factor * drwaing_box_length / 6, drwaing_box_length / 2),
Point(line_factor * drwaing_box_length / 6, -drwaing_box_length / 2),
Point(line_factor * drawing_box_length / 6, drawing_box_length / 2),
Point(line_factor * drawing_box_length / 6, -drawing_box_length / 2),
:stroke,
)
line(
Point(drwaing_box_length / 2, line_factor * drwaing_box_length / 6),
Point(-drwaing_box_length / 2, line_factor * drwaing_box_length / 6),
Point(drawing_box_length / 2, line_factor * drawing_box_length / 6),
Point(-drawing_box_length / 2, line_factor * drawing_box_length / 6),
:stroke,
)
end