Skip to content

Commit

Permalink
fix free degree of freedom
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrKryslUCSD committed Feb 10, 2024
1 parent c6e0bce commit d2c763b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions examples/steady_state/3-d/Poisson_examples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ function Poisson_FE_T4_example(N = 25)
applyebc!(Temp)
numberdofs!(Temp)

println("Number of free degrees of freedom: $(Tempnfreedofs())")
println("Number of free degrees of freedom: $(nfreedofs(Temp))")
t1 = time()

material = MatHeatDiff(thermal_conductivity)
Expand Down Expand Up @@ -395,7 +395,7 @@ function Poisson_FE_H20_parass_threads_example(N = 25)
applyebc!(Temp)
numberdofs!(Temp)

@info("Number of free degrees of freedom: $(Tempnfreedofs())")
@info("Number of free degrees of freedom: $(nfreedofs(Temp))")

material = MatHeatDiff(thermal_conductivity)

Expand Down Expand Up @@ -535,7 +535,7 @@ function Poisson_FE_H8_parass_threads_example(N = 25)
applyebc!(Temp)
numberdofs!(Temp)

@info("Number of free degrees of freedom: $(Tempnfreedofs())")
@info("Number of free degrees of freedom: $(nfreedofs(Temp))")

material = MatHeatDiff(thermal_conductivity)

Expand Down Expand Up @@ -676,7 +676,7 @@ function Poisson_FE_T4_altass_example(N = 25)
applyebc!(Temp)
numberdofs!(Temp)

println("Number of free degrees of freedom: $(Tempnfreedofs())")
println("Number of free degrees of freedom: $(nfreedofs(Temp))")
t1 = time()

material = MatHeatDiff(thermal_conductivity)
Expand Down Expand Up @@ -739,12 +739,12 @@ function allrun()
# println("#####################################################")
# println("# Poisson_FE_H20_example ")
# Poisson_FE_H20_example()
println("#####################################################")
println("# Poisson_FE_H20_parass_tasks_example ")
Poisson_FE_H20_parass_tasks_example(60)
# println("#####################################################")
# println("# Poisson_FE_H20_parass_threads_example ")
# Poisson_FE_H20_parass_threads_example()
# println("# Poisson_FE_H20_parass_tasks_example ")
# Poisson_FE_H20_parass_tasks_example(60)
println("#####################################################")
println("# Poisson_FE_H20_parass_threads_example ")
Poisson_FE_H20_parass_threads_example()
# println("#####################################################")
# println("# Poisson_FE_T10_example ")
# Poisson_FE_T10_example()
Expand Down

0 comments on commit d2c763b

Please sign in to comment.