Skip to content

Commit

Permalink
remove some comments and unneeded file
Browse files Browse the repository at this point in the history
  • Loading branch information
warisa-r committed Oct 25, 2024
1 parent 2af55dd commit 6360b8d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 198 deletions.
25 changes: 0 additions & 25 deletions examples/tree_1d_dgsem/elixir_advection_embedded_perk3.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ ode_algorithm = Trixi.EmbeddedPairedRK3(10, 9, tspan, semi)
# b values in the Butcher tableau of the ODE algorithm).
#cfl_number = Trixi.calculate_cfl(ode_algorithm, ode)
stepsize_callback = StepsizeCallback()
# I've tried using cfl of 1.5 and the error is very similar.

callbacks = CallbackSet(summary_callback,
alive_callback,
Expand All @@ -78,27 +77,3 @@ sol = Trixi.solve(ode, ode_algorithm,

# Print the timer summary
summary_callback()

ode_algorithm.b


# Some function defined so that I can check if the second order condition is met. This will be removed later.
function construct_b_vector(b_unknown, num_stages_embedded, num_stage_evals_embedded)
# Construct the b vector
b = [
b_unknown[1],
zeros(Float64, num_stages_embedded - num_stage_evals_embedded)...,
b_unknown[2:end]...,
0
]
return b
end

b = construct_b_vector(ode_algorithm.b, ode_algorithm.num_stages - 1,
ode_algorithm.num_stage_evals - 1)
println("dot(b, c) = ", dot(b, ode_algorithm.c))
println("sum(b) = ", sum(b))

println("dt_opt_a = ", ode_algorithm.dt_opt_a)
println("dt_opt_b = ", ode_algorithm.dt_opt_b)
println("ratio = ", ode_algorithm.dt_opt_b / ode_algorithm.dt_opt_a * 100)
173 changes: 0 additions & 173 deletions ext/TrixiConvexClarabelExt.jl

This file was deleted.

0 comments on commit 6360b8d

Please sign in to comment.