Skip to content

Commit 329f796

Browse files
authoredFeb 16, 2025··
Update zef_get_strip_contacts.m
1 parent 6115251 commit 329f796

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎plugins/StripTool/zef_get_strip_contacts.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
end
9393
if not(triangles_flag_aux)
9494
I_aux = find(zef.domain_labels <= compartment_ind);
95-
triangles = zef_surface_mesh()
95+
triangles = zef_surface_mesh();
9696
end
9797
[points_aux,triangles_aux] = zef_get_submesh(zef.nodes,triangles);
9898
strip_struct.points{1} = points_aux;
@@ -135,7 +135,7 @@
135135
angle_aux = (2*pi/4)*mod(contact_index,4)+ (pi/4)*mod(row_ind_aux,2);
136136
[center_point_x_aux, center_point_y_aux] = pol2cart(angle_aux,strip_struct.strip_radius);
137137
center_point_aux = [center_point_x_aux; center_point_y_aux; 0.75 + 0.5*0.75 + 0.75*(row_ind_aux-1)];
138-
point_ind_aux = find(sqrt(sum((strip_struct.points{1}(point_ind,:)'-center_point_aux).^2))<=0.5*0.75)
138+
point_ind_aux = find(sqrt(sum((strip_struct.points{1}(point_ind,:)'-center_point_aux).^2))<=0.5*0.75);
139139
point_ind = point_ind(point_ind_aux);
140140
end
141141

@@ -149,4 +149,4 @@
149149
end
150150
end
151151

152-
end
152+
end

0 commit comments

Comments
 (0)
Please sign in to comment.