Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
126c2a2
docs
ajnonaka May 22, 2024
2afad78
Merge pull request #2 from ajnonaka/documentation
ajnonaka May 22, 2024
bfe6903
docs update
ajnonaka May 22, 2024
84f19dc
docs update
ajnonaka May 22, 2024
d71eb79
docs update
ajnonaka May 22, 2024
7fe43b2
use forward euler to simple build works
ajnonaka May 22, 2024
d80cf56
Update README.md
ajnonaka May 22, 2024
09256d6
Update README.md
ajnonaka May 22, 2024
fe8ecfd
Update README.md
ajnonaka May 22, 2024
3f8dab6
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka May 23, 2024
1df8bdb
whitespace
ajnonaka May 23, 2024
4900bce
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka May 28, 2024
06ba6a5
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka May 30, 2024
d4b3fe6
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka May 30, 2024
15a993c
enable DMI and anis in scaling test
ajnonaka May 31, 2024
ffeaeab
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka May 31, 2024
badfefa
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 11, 2024
ebf537e
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 11, 2024
273173a
Merge branch 'development' of github.com:ajnonaka/MagneX into develop…
ajnonaka Jun 11, 2024
535bee5
skyrmion diagnostic post processing utility
ajnonaka Jun 13, 2024
b5a074d
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 13, 2024
a32bd31
renname file
ajnonaka Jun 13, 2024
86d979c
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 13, 2024
298bb52
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 14, 2024
c5f3349
restart bugfix
ajnonaka Jun 14, 2024
42e65fc
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 14, 2024
25e79c5
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Jun 24, 2024
23f20f6
sundials 7.1.1
ajnonaka Jul 16, 2024
437c39b
inputs file for paper demag plot
ajnonaka Aug 2, 2024
aacc97f
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Aug 9, 2024
2fe1a87
license and copyright
ajnonaka Aug 19, 2024
d933db5
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Aug 20, 2024
527db62
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Aug 22, 2024
be021e7
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Sep 6, 2024
d5f1312
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Sep 19, 2024
1f8ff0f
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Sep 25, 2024
24a4e09
patches to get regression tests running again
ajnonaka Sep 30, 2024
d985e79
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Sep 30, 2024
b4c567a
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Sep 30, 2024
afe92a2
fix sundials settings
ajnonaka Oct 2, 2024
487ff09
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Oct 2, 2024
b4df9c5
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Oct 2, 2024
415b5f9
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Oct 3, 2024
66e3cfc
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Nov 1, 2024
52cf85c
cleanup per Weiqun
ajnonaka Nov 1, 2024
588e642
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Nov 1, 2024
e1356bb
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Nov 4, 2024
66d9ee4
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Nov 12, 2024
97d152a
logic for different physics wasn't right for single-rate case
ajnonaka Mar 11, 2025
7ec1149
add SUNDIALS_HOME
ajnonaka Jul 29, 2025
b95ceba
sundials update
ajnonaka Jul 30, 2025
af00243
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Aug 27, 2025
a689f78
comments in inputs file
ajnonaka Jan 2, 2026
f8ac622
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Feb 12, 2026
c8db8c5
scaling tests
ajnonaka Feb 13, 2026
d6d49ce
turn on RK4 for STD3
ajnonaka Feb 13, 2026
3b6fb44
Merge branch 'development' of github.com:AMReX-Microelectronics/Magne…
ajnonaka Feb 13, 2026
f63b15f
Merge branch 'development' into paper_updates
ajnonaka Feb 13, 2026
e9fa1ba
tweaks for final paper
ajnonaka Feb 14, 2026
55ba7df
bugfix - for hysteresis do not compute Hbias each time step!!!
ajnonaka Feb 15, 2026
6475e14
fix std2 inputs to match text in paper (and get proper results)
ajnonaka Feb 15, 2026
e1e2708
fix up DMI1 problem
ajnonaka Feb 16, 2026
87a43f9
paper update
ajnonaka Feb 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Exec/DMI_diagnostic/DMI_diagnostic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ main (int argc,
int k = (hi.z+1)/2;
int j = (hi.y+1)/2;
for (auto i = (hi.x+1)/2; i <= hi.x; ++i) {
std::cout << i << " " << mfdata(i,j,k,3)/1.1e6 << " " << mfdata(i,j,k,16)+offset << "\n";
std::cout << i << " " << mfdata(i,j,k,2)/1.1e6 << " " << mfdata(i,j,k,3)+offset << "\n";
// 2pi cyclic fix
if (i<hi.x) {
if (offset==0. && mfdata(i,j,k,16)>5. && mfdata(i+1,j,k,16)<1.) {
if (offset==0. && mfdata(i,j,k,3)>5. && mfdata(i+1,j,k,3)<1.) {
offset = 2.*M_PI;
}
}
Expand Down
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_cpu_0.25
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 128 128 128
max_grid_size_x = 32
max_grid_size_y = 32
max_grid_size_z = 64

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 512.e-9 512.e-9 512.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<512.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_cpu_0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 256 128 128
max_grid_size_x = 32
max_grid_size_y = 32
max_grid_size_z = 64

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 1024.e-9 512.e-9 512.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_cpu_1
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 256 256 128
max_grid_size_x = 32
max_grid_size_y = 32
max_grid_size_z = 64

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 1024.e-9 1024.e-9 512.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<512.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_cpu_128
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 1024 1024 1024
max_grid_size_x = 32
max_grid_size_y = 32
max_grid_size_z = 64

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 4096.e-9 4096.e-9 4096.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<4096.e-9)*(y>0.)*(y<4096.e-9)*(z>0.)*(z<4096.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_cpu_16
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 512 512 512
max_grid_size_x = 32
max_grid_size_y = 32
max_grid_size_z = 64

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 2048.e-9 2048.e-9 2048.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<2048.e-9)*(y>0.)*(y<2048.e-9)*(z>0.)*(z<2048.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_cpu_2
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 256 256 256
max_grid_size_x = 32
max_grid_size_y = 32
max_grid_size_z = 64

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 1024.e-9 1024.e-9 1024.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<1024.e-9)*(z>0.)*(z<1024.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
File renamed without changes.
52 changes: 52 additions & 0 deletions Exec/scaling_inputs/inputs_scaling_gpu_0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
amrex.use_gpu_aware_mpi=1

n_cell = 256 128 128
max_grid_size_x = 128
max_grid_size_y = 128
max_grid_size_z = 128

dt = 1.e-15
nsteps = 100
plot_int = -1
chk_int = -1
restart = -1

prob_lo = 0. 0. 0.
prob_hi = 1024.e-9 512.e-9 512.e-9

mu0 = 1.25663e-6

Mx_parser(x,y,z) = "8.e5 * (x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9)"
My_parser(x,y,z) = "0."
Mz_parser(x,y,z) = "0."

# Field 1: mu_0 Hx=-24.6 mT, mu_0 Hy= 4.3 mT, mu_0 Hz= 0.0 mT
# which is a field approximately 25 mT, directed 170 degrees counterclockwise from the positive x axis
timedependent_Hbias = 0
Hx_bias_parser(x,y,z,t) = "1.e5"
Hy_bias_parser(x,y,z,t) = "1.e5"
Hz_bias_parser(x,y,z,t) = "1.e5"

timedependent_alpha = 0
alpha_parser(x,y,z,t) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 0.5"
Ms_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 8.e5"
gamma_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -1.759e11"
exchange_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * 1.3e-11"
anisotropy_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -139.26"
DMI_parser(x,y,z) = "(x>0.)*(x<1024.e-9)*(y>0.)*(y<512.e-9)*(z>0.)*(z<512.e-9) * -4.5e-3"

precession = 1
demag_coupling = 1
FFT_solver = 1
M_normalization = 1 # 0 = unsaturated case; 1 = saturated case
exchange_coupling = 1
anisotropy_coupling = 1
anisotropy_axis = 0.0 0.0 1.0
DMI_coupling = 1

# INTEGRATION

TimeIntegratorOption = 1 #Forward Euler

integration.type = RungeKutta
integration.rk.type = 1
Loading
Loading