Skip to content

Commit

Permalink
empty makie axis
Browse files Browse the repository at this point in the history
  • Loading branch information
ww1g11 committed Oct 25, 2024
1 parent 6e2afd2 commit 0c46d1c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MicroMagnetic"
uuid = "cef16ca0-16a8-11ef-389e-9fbcf1974e83"
authors = ["Weiwei Wang <wangweiwei@ahu.edu.cn>", "Boyao Lv <lvboyao@mail.ustc.edu.cn>"]
version = "0.3.6"
version = "0.3.7"

[deps]
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
Expand Down
1 change: 1 addition & 0 deletions ext/CairoMakieExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ function MicroMagnetic.jld2movie(jld_file; framerate=12, output=nothing, figsize
function update_function(i)
index = @sprintf("m/%d", i)
m = reshape(data[index], 3, nx, ny, nz)
empty!(ax)
return plot_m(m; dx=dx, dy=dy, fig=fig, ax=ax, kwargs...)
end

Expand Down
1 change: 1 addition & 0 deletions src/llg/llg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ where p_perp = p - (m.p)m
#the above part is the standard LLG equation

@inbounds aj = ut * a_J[I]
bj = ut * bj
c1::T = (aj + alpha * bj) / (1 + alpha * alpha)
c2::T = (bj - alpha * aj) / (1 + alpha * alpha)

Expand Down

2 comments on commit 0c46d1c

@ww1g11
Copy link
Member Author

@ww1g11 ww1g11 commented on 0c46d1c Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

  • bug fix for STT_CPP driver
  • update jld2movie

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/118058

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.7 -m "<description of version>" 0c46d1cfc407aba603d99ea43e6de777a8b509b0
git push origin v0.3.7

Please sign in to comment.