From 8ac78b39f2d45bcc8ebe584a270fc99a23532baa Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Sat, 3 Aug 2024 15:35:07 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Hendrik Ranocha --- src/auxiliary/math.jl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/auxiliary/math.jl b/src/auxiliary/math.jl index c328c57812a..c0d42190044 100644 --- a/src/auxiliary/math.jl +++ b/src/auxiliary/math.jl @@ -8,15 +8,17 @@ const TRIXI_UUID = UUID("a7f1ee26-1774-49b1-8366-f1abc58fbfcb") """ - Trixi.set_polyster(toggle::Bool; force = true) + Trixi.set_polyester(toggle::Bool; force = true) -Toggle the usage of Polyster. By default Polyester is enabled, but it can -be useful for performance comparisions to switch to the Julia core backend. +Toggle the usage of [Polyester.jl](https://github.com/JuliaSIMD/Polyester.jl) for multithreading. +By default, Polyester.jl is enabled, but it can +be useful for performance comparisons to switch to the Julia core backend. -This does not fully disable Polyester only it's use as part of Trixi.jl's `@threaded` +This does not fully disable Polyester.jl, +buy only its use as part of Trixi.jl's `@threaded` macro. macro. """ -function set_polyster(toggle::Bool; force=true) +function set_polyester(toggle::Bool; force=true) set_preferences!(TRIXI_UUID, "polyester" => string(toggle), force = force) @info "Please restart Julia and reload Trixi.jl for the `polyester` change to take effect" end