From 3083c962d127abcb7fb759afb5d8204c099e2310 Mon Sep 17 00:00:00 2001 From: jiweiqi Date: Mon, 8 Feb 2021 16:55:47 -0500 Subject: [PATCH] clean up code --- src/Arrhenius.jl | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/Arrhenius.jl b/src/Arrhenius.jl index 717601c..1aff27f 100644 --- a/src/Arrhenius.jl +++ b/src/Arrhenius.jl @@ -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)