Commit 10a5dab1 authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix Typos

parent b001d4ea
Pipeline #33177 passed with stages
in 30 minutes
......@@ -120,7 +120,7 @@ class FreeSlip(LbBoundary):
Args:
stencil: LBM stencil which is used for the simulation
normal_direction: optional normal direction. If the Free slip boundary is applied to a certain side in the
domain it is not necassary to calculate the normal direction since it can be stated for all
domain it is not necessary to calculate the normal direction since it can be stated for all
boundary cells. This reduces the memory space for the index array significantly.
name: optional name of the boundary.
"""
......
......@@ -132,7 +132,7 @@ def test_free_slip_index_list():
for b_obj, idx_arr in b[bh._index_array_name].boundary_object_to_index_list.items():
index_array = idx_arr
# normale directions
# normal directions
normal_west = (1, 0)
normal_east = (-1, 0)
normal_south = (0, 1)
......@@ -150,7 +150,7 @@ def test_free_slip_index_list():
boundary_cell = (cell[0] + direction[0], cell[1] + direction[1])
normal = (cell[3], cell[4])
# the data is written on the inverse direction of the fluid cell near the boundary
# the data is read from the mirrored direction of the inverser direction where the mirror axis is the normal
# the data is read from the mirrored direction of the inverse direction where the mirror axis is the normal
assert cell[5] == stencil.index(mirror_stencil(list(inv_dir), normal))
if boundary_cell[0] == 0 and 0 < boundary_cell[1] < 5:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment