Skip to content

Commit

Permalink
Remove default setting
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyuxie committed Aug 22, 2024
1 parent c288014 commit 1892ac8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions src/TrixiGPU.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ using StaticArrays: SVector
include("auxiliary/auxiliary.jl")
include("solvers/solvers.jl")

# Default settings (will be removed in the future, currently used for testing)
const DEFAULT_SETTING = true
load_default_settings() # TODO: Change to using Preferences

# Export the public APIs
export semidiscretize_gpu

Expand Down
12 changes: 0 additions & 12 deletions src/auxiliary/auxiliary.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,2 @@
include("configurators.jl")
include("helpers.jl")

# Some default settings for the package
function load_default_settings()
if DEFAULT_SETTING
# TODO: Check how to better utilize custom `log` and `sqrt` functions from Trixi.jl
set_log_type("log_Base")
set_sqrt_type("sqrt_Base")
else
# To be implemented
println("Using custom setting...")
end
end

0 comments on commit 1892ac8

Please sign in to comment.