Skip to content

Commit

Permalink
remove io in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKryslUCSD committed Feb 13, 2024
1 parent b4663bb commit 35f0323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/steady_state/3-d/Poisson_examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,10 @@ function Poisson_FE_H20_parass_threads_example(
a.buffer_pointer = iend # This is crucial: the assembler needs to be informed that up to this pointer there will be data
@info "Finished $(time() - start)"
Threads.@threads for th in eachindex(_a)
@info "$(th): Started $(time() - start)"
# @info "$(th): Started $(time() - start)"
femm1 = FEMMHeatDiff(IntegDomain(subset(fes, _r[th]), GaussRule(3, 3)), material)
conductivity(femm1, _a[th], geom, Temp)
@info "$(th): Finished $(time() - start)"
# @info "$(th): Finished $(time() - start)"
end
@info "Started make-matrix $(time() - start)"
K = makematrix!(a)
Expand Down

0 comments on commit 35f0323

Please sign in to comment.