From c97b57d5ae45eb4ba7f10a0a0fd8c1bf803f78a7 Mon Sep 17 00:00:00 2001 From: Michael Schlottke-Lakemper Date: Fri, 3 Nov 2023 16:08:40 +0100 Subject: [PATCH] Add Flux.jl to deps --- Project.toml | 2 ++ src/TrixiSmartShockFinder.jl | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 739d4fe..f4ddb2b 100644 --- a/Project.toml +++ b/Project.toml @@ -4,10 +4,12 @@ authors = ["Michael Schlottke-Lakemper and contributors"] version = "0.1.0" [deps] +Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221" Trixi = "a7f1ee26-1774-49b1-8366-f1abc58fbfcb" [compat] +Flux = "0.13.15, 0.14" MuladdMacro = "0.2.4" # Trixi = "0.6" julia = "1.9" diff --git a/src/TrixiSmartShockFinder.jl b/src/TrixiSmartShockFinder.jl index 84b8ab4..0b2dfa2 100644 --- a/src/TrixiSmartShockFinder.jl +++ b/src/TrixiSmartShockFinder.jl @@ -1,11 +1,12 @@ module TrixiSmartShockFinder using MuladdMacro: @muladd +using Flux: params using Trixi using Trixi: AbstractIndicator, AbstractEquations, AbstractSemidiscretization, @threaded, summary_box, eachdirection, get_node_vars, multiply_scalar_dimensionwise!, apply_smoothing!, gauss_lobatto_nodes_weights, polynomial_interpolation_matrix, - trixi_include + has_any_neighbor, has_neighbor, has_children, trixi_include include("indicators.jl") include("indicators_1d.jl")