Skip to content

Commit 82f1f8d

Browse files
committed
Merge branch 'master' of github.com:computationalmodelling/fidimag
2 parents 0a39567 + 2ee00e7 commit 82f1f8d

File tree

91 files changed

+4871
-15077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+4871
-15077
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@
66
*.pdf
77
*.tmp
88
*.so
9-
/local/
10-
9+
local/
10+
*~
11+
*.bak
12+
.DS_Store
13+
.pytest_cache/
1114
# ignore automatically generated cython files
1215
fidimag/atomistic/lib/clib.c
1316
fidimag/common/lib/common_clib.c

.hgignore

Lines changed: 0 additions & 26 deletions
This file was deleted.

AUTHORS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Weiwei Wang, Marc-Antonio Bisotti, David Cortes, Mark Vousden, Beckie Carey, Marijan Beg, Hans Fangohr
1+
Weiwei Wang, Marc-Antonio Bisotti, David Cortes, Thomas Kluyver, Mark Vousden, Ryan Pepper, Oliver Laslett, Rebecca Carey, and Hans Fangohr

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:16.04
33
RUN apt -y update
44
RUN apt install -y git python3 python3-pip gcc psutils cmake wget make
55
RUN apt install -y gfortran libblas-dev liblapack-dev python3-tk sudo fonts-lato
6-
RUN pip3 install cython matplotlib pytest scipy psutil pyvtk ipywidgets
6+
RUN pip3 install cython matplotlib pytest scipy psutil pyvtk ipywidgets -U
77
RUN pip3 install --no-cache-dir notebook
88

99
RUN ln -s /usr/bin/python3 /usr/bin/python

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,25 +70,36 @@ The results can be straightforwardly visualised from the outputted VTK files usi
7070

7171

7272

73-
### Attributions
73+
### Attributions
7474
The code is developed by Weiwei Wang, Marc-Antonio Bisotti, David Cortes, Thomas Kluyver, Mark Vousden, Ryan Pepper, Oliver Laslett, Rebecca Carey, and Hans Fangohr at the University of Southampton.
7575

7676
This is an early experimental version; contributions and pull requests to both the code and documentation are welcome.
7777
If you use Fidimag, please cite as:
7878

79-
David Cortés-Ortuño, Weiwei Wang, Ryan Pepper, Marc-Antonio Bisotti, Thomas Kluyver, Mark Vousden, & Hans Fangohr. (2016). Fidimag v2.0 [Data set]. Zenodo. http://doi.org/10.5281/zenodo.167858A bib file is provided in the repository.
79+
Bisotti, M.-A., Cortés-Ortuño, D., Pepper, R., Wang, W., Beg, M., Kluyver, T. and Fangohr, H., 2018. Fidimag – A Finite Difference Atomistic and Micromagnetic Simulation Package. Journal of Open Research Software, 6(1), p.22. DOI: http://doi.org/10.5334/jors.223
8080

8181
### Publications
8282

8383
The following publications, in reverse chronological order, have used Fidimag:
8484

85-
[1] [Thermal stability and topological protection of skyrmions in nanotracks](https://www.nature.com/articles/s41598-017-03391-8), D. Cortés-Ortuño, W. Wang, M. Beg, R.A. Pepper, M-A. Bisotti, R. Carey, M. Vousden, T. Kluyver, O. Hovorka & H. Fangohr, Scientific Reports 7, 4060 (2017)
85+
[1] [Proposal for a micromagnetic standard problem for materials with Dzyaloshinskii–Moriya interaction](http://iopscience.iop.org/article/10.1088/1367-2630/aaea1c), D. C-Ortuño, M. Beg2, V. Nehruji3, L. Breth1, R. Pepper, T. Kluyver, G. Downing, T. Hesjedal, P. Hatton3, T. Lancaster, R. Hertel5, O. Hovorka and H. Fangohr, New Journal of Physics, Volume 20 (2018)
8686

87-
[2] [Current-induced instability of domain walls in cylindrical nanowires](http://iopscience.iop.org/article/10.1088/1361-648X/aa9698/meta), W. Wang, Z. Zhang, R.A. Pepper, C. Mu, Y. Zhou & Hans Fangohr, Journal of Physics: Condensed Matter, 30, 1 (2017)
87+
[2] [Driving chiral domain walls in antiferromagnets using rotating magnetic fields](https://link.aps.org/doi/10.1103/PhysRevB.97.184418) K.Pan, L.Xing, H.Y.Yuan, and W.Wang,
88+
Physical Review B 97, 184418 (2018).
8889

89-
[3] [Magnonic analog of relativistic Zitterbewegung in an antiferromagnetic spin chain](https://journals.aps.org/prb/abstract/10.1103/PhysRevB.96.024430), W. Wang, C. Gu, Y. Zhou & H. Fangohr, Phys. Rev. B 96 (2017)
90+
[3] [Fidimag - A Finite Difference Atomistic and Micromagnetic Simulation Package](http://doi.org/10.5334/jors.223), Bisotti, M.-A., Cortés-Ortuño, D., Pepper, R., Wang, W., Beg, M., Kluyver, T. and Fangohr, H., Journal of Open Research Software, 6(1), p.22. (2018)
9091

91-
[4] [Magnon-Driven Domain-Wall Motion with the Dzyaloshinskii-Moriya Interaction](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.114.087203) W. Wang, M. Albert, M. Beg, M-A. Bisotti, D. Chernyshenko, D. Cortés-Ortuño, I. Hawke & H. Fangohr, Phys. Rev. Lett. 114, 087203 (2015)
92+
[4] [Thermal stability and topological protection of skyrmions in nanotracks](https://www.nature.com/articles/s41598-017-03391-8), D. Cortés-Ortuño, W. Wang, M. Beg, R.A. Pepper, M-A. Bisotti, R. Carey, M. Vousden, T. Kluyver, O. Hovorka & H. Fangohr, Scientific Reports 7, 4060 (2017)
93+
94+
[5] [Current-induced instability of domain walls in cylindrical nanowires](http://iopscience.iop.org/article/10.1088/1361-648X/aa9698/meta), W. Wang, Z. Zhang, R.A. Pepper, C. Mu, Y. Zhou & Hans Fangohr, Journal of Physics: Condensed Matter, 30, 1 (2017)
95+
96+
[6] [Magnonic analog of relativistic Zitterbewegung in an antiferromagnetic spin chain](https://journals.aps.org/prb/abstract/10.1103/PhysRevB.96.024430), W. Wang, C. Gu, Y. Zhou & H. Fangohr, Phys. Rev. B 96 024430 (2017)
97+
98+
[7] [Driving magnetic skyrmions with microwave fields](https://journals.aps.org/prb/abstract/10.1103/PhysRevB.92.020403) W. Wang, M. Beg, B. Zhang, W. Kuch, and H. Fangohr, Phys. Rev. B 92, 020403 (2015).
99+
100+
[8] [Microwave-induced dynamic switching of magnetic skyrmion cores in nanodots](https://aip.scitation.org/doi/10.1063/1.4914496) B. Zhang, W. Wang, M. Beg, H. Fangohr, and W. Kuch, Applied Physics Letters 106, 102401 (2015).
101+
102+
[9] [Magnon-Driven Domain-Wall Motion with the Dzyaloshinskii-Moriya Interaction](https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.114.087203) W. Wang, M. Albert, M. Beg, M-A. Bisotti, D. Chernyshenko, D. Cortés-Ortuño, I. Hawke & H. Fangohr, Phys. Rev. Lett. 114, 087203 (2015)
92103

93104
### Acknowledgements
94-
We acknowledge financial support from EPSRC’s Centre for Doctoral Training in Next Generation Computational Modelling (EP/L015382/1) and EPSRC’s Doctoral Training Centre in Complex System Simulation (EP/G03690X/1)
105+
We acknowledge financial support from EPSRC’s Centre for Doctoral Training in Next Generation Computational Modelling (EP/L015382/1), EPSRC’s Doctoral Training Centre in Complex System Simulation (EP/G03690X/1), EPSRC Programme grant on Skyrmionics (EP/N032128/1) and OpenDreamKitHorizon 2020 European Research Infrastructure project (676541).

bin/fix_load_path_mac.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020
def extract_library(so_file):
2121
cmd = ('otool', '-L', so_file)
2222
output = subprocess.check_output(cmd)
23-
for line in output.split('\t'):
23+
for line in output.decode().split('\t'):
2424
m = patten.match(line)
25+
print(m, line)
2526
if m:
2627
lib_name = m.group()
2728
full_name = os.path.join(LIB_DIR, lib_name)
28-
#print lib_name, full_name
29+
print(lib_name, full_name)
2930
cmd = ('install_name_tool', '-change',
3031
lib_name, full_name, so_file
3132
)

bin/install-fftw.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
2-
echo "HELLO"
2+
33
# This script installs FFTW locally. It may need to environment
44
# variables to work, like 'export CC=gcc' in ARCHER.
55

6-
FFTW=fftw-3.3.4
6+
FFTW=fftw-3.3.8
77

88
set -e
99

@@ -33,12 +33,10 @@ download_and_install() {
3333
tar -xzf ${1}.tar.gz
3434
cd ${1}
3535
echo "Configuring "${1}"."
36-
./configure --quiet --enable-shared --enable-openmp --prefix=${LIBS_DIR}
36+
./configure --enable-shared --enable-openmp --enable-sse2 --enable-avx --prefix=${LIBS_DIR}
3737
echo "Compiling and installing "${1}"."
38-
{
39-
make
40-
make install
41-
} > /dev/null
38+
make
39+
make install
4240
echo "Done."
4341
cd ${LIBS_DIR}
4442
fi;

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Contents:
3131
ipynb/spin-polarised-current-driven-skyrmion
3232
ipynb/spin-waves-in-periodic-system
3333
ipynb/FMR-stdprob
34+
ipynb/steepest_descent_atomistic
3435

3536
.. toctree::
3637
:maxdepth: 2

0 commit comments

Comments
 (0)