Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
petermnhull committed Jun 10, 2020
1 parent 84b69a7 commit 16111a9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 719 deletions.
42 changes: 0 additions & 42 deletions code/all_external_forces.asv

This file was deleted.

4 changes: 2 additions & 2 deletions code/all_external_forces.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

% Passive Links (every set of segments)
% - for use with pairs of filaments
if passive_links
for i_pairs=1:N_pairs
for i_pairs=1:N_pairs
if passive_links(i_pairs)
for j=1:N_w
seg_a = (((2 * i_pairs) - 2) * N_w) + j;
seg_b = (((2 * i_pairs) - 1) * N_w) + j;
Expand Down
76 changes: 0 additions & 76 deletions code/cl_forces_swimming_final.asv

This file was deleted.

36 changes: 0 additions & 36 deletions code/main.asv

This file was deleted.

7 changes: 4 additions & 3 deletions code/main.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function main()

% ----- Number of swimmers -----
N_swimmers = 2;

% ----- Initial positions of each swimmer -----
Expand All @@ -18,11 +19,11 @@ function main()
% ----- Motion type (1 = symmetric, 2 = peristalsis, 3 = asymmetric I, 4 = asymmetric II) -----
locomotion_type = [1, 2];

% ----- Passive links -----
passive_links = true;
% ----- Passive links for swimmers (warning: increase amplitude ratio if false)-----
passive_links = [true, true];

% ----- Simulation Time -----
repetitions = 3;
repetitions = 1;

% ----- Plotting and Saving ------
% For plots
Expand Down
Loading

0 comments on commit 16111a9

Please sign in to comment.