-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
For instance, this code is not re-indented correctly when I do "select all" and "reindent":
function e1_hole_q4()
function solve(iteration, fens, fes)
# Identify the "growth" layer of elements
node_is_act_bdry = fill(false, count(fens))
node_is_act_bdry[lopeningn] .= true
el_in_growth_layer = fill(false, count(fes))
for i in 1:count(fes)
for j in fes.conn[i]
if node_is_act_bdry[j]
el_in_growth_layer[i] = true
break
end
end
end
# Apply mechanical support conditions to eliminate rigid body
# displacements
u = NodalField(zeros(size(fens.xyz, 1), 2)) # displacement field
setebc!(u, lleft0n, 1, 0.0)
setebc!(u, lleft0n, 2, 0.0)
setebc!(u, lright0n, 2, 0.0)
applyebc!(u)
numberdofs!(u)
end
end
ST3 with Julia-sublime package 0.9 can do it right.
Metadata
Metadata
Assignees
Labels
No labels