Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
jiweiqi committed Feb 8, 2021
1 parent 5c31590 commit 3083c96
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/Arrhenius.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,3 @@ module Arrhenius
include("Thermo.jl")
include("Kinetics.jl")
end

# Profile code
# using LinearAlgebra
# using DifferentialEquations
# using Sundials
# using Profile
#
# gas = Arrhenius.CreateSolution("./mechanism/JP10skeletal.yaml")
# mgas = Arrhenius.CreateMSolution(gas)
#
# ns = gas.n_species
#
# Y0 = zeros(ns)
# Y0[1] = 1.0
# T0 = 1200.0
# P = Arrhenius.one_atm
# Arrhenius.set_states(gas, mgas, T0, P, Y0)
# @show mgas.ρ_mass mgas.wdot
#
# function profile_test(n)
# for i = 1:n
# Arrhenius.set_states(gas, mgas, T0, P, Y0)
# end
# end
# @time profile_test(1000)
#
# Profile.clear
# @profile profile_test(1000)
# Juno.profiler(; C = false)

0 comments on commit 3083c96

Please sign in to comment.