Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/marching.jl
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... ok for me

Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,10 @@ function marching_tetrahedra(
@views push!(all_ixvalues, primevalues[iprime])
end

planeq = zeros(4)
ixcoord = zeros(3, 6)
ixvalues = zeros(6)
cn = zeros(4)
node_indices = zeros(Int32, 4)
planeq = @MArray zeros(4)
Comment thread
pjaap marked this conversation as resolved.
ixcoord = @MArray zeros(3, 6)
Comment thread
pjaap marked this conversation as resolved.
ixvalues = @MArray zeros(6)
Comment thread
pjaap marked this conversation as resolved.
node_indices = @MArray zeros(Int32, 4)
Comment thread
pjaap marked this conversation as resolved.

# Function to evaluate plane equation
@inbounds @fastmath plane_equation(plane, coord) = coord[1] * plane[1] + coord[2] * plane[2] + coord[3] * plane[3] + plane[4]
Expand Down
Loading