-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for Hopfion visualisation etc.
Improved performance of GL by copying spins data etc. only if a simulation is running. Added basis_atoms to geometry. Added format enum for Vector Files (e.g. Spin Configurations, in order to be able to read in CSV and other formats) Bugfix: bad file name in Neighbours.cpp. Bugfix: Hopfion configuration now is nontrivial and has winding number 1. Bugfix: Method_LLG now saves the effective field into the spin system after each iteration.
- Loading branch information
Showing
19 changed files
with
313 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
i j da db dc J | ||
0 0 1 0 0 1.0 | ||
0 0 0 1 0 1.0 | ||
0 0 0 0 1 1.0 | ||
0 0 2 0 0 -0.24 | ||
0 0 0 2 0 -0.24 | ||
0 0 0 0 2 -0.24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
############ Spirit Configuration ############ | ||
|
||
|
||
|
||
### Hamiltonian Type (isotropic or anisotropic) | ||
hamiltonian anisotropic | ||
|
||
### Output Folders | ||
llg_output_folder output | ||
gneb_output_folder output | ||
mmf_output_folder output | ||
|
||
|
||
|
||
############### Logging Parameters ############### | ||
log_output_folder . | ||
### Levels of information | ||
# 0 = ALL - Anything | ||
# 1 = SEVERE - Severe error | ||
# 2 = ERROR - Error which can be handled | ||
# 3 = WARNING - Possible unintended behaviour etc | ||
# 4 = PARAMETER - Status information etc | ||
# 5 = INFO - Status information etc | ||
# 6 = DEBUG - Deeper status, eg numerical | ||
### Print messages up to (including) log_print | ||
log_print 6 | ||
### Accept messages up to (including) log_accept | ||
log_accept 6 | ||
############## End Debug_Parameters ############## | ||
|
||
|
||
|
||
################## Geometry ################## | ||
### Read basis from file | ||
basis_from_config input/basis_sc.cfg | ||
|
||
### Keyword translation_vectors ### | ||
### t1.x t1.y t1.z nCells(t1) | ||
### t2.x t2.y t2.z nCells(t2) | ||
### t3.x t3.y t3.z nCells(t3) | ||
translation_vectors | ||
1 0 0 30 | ||
0 1 0 30 | ||
0 0 1 30 | ||
|
||
################# End Geometry ################# | ||
|
||
|
||
|
||
################ LLG_Parameters ################ | ||
### seed for Rendom Number Generator | ||
llg_seed 20006 | ||
|
||
### Disable saving a seperate "Spins" configuration file after every logstep iteration | ||
llg_save_single_configurations 0 | ||
|
||
### Number of iterations | ||
llg_n_iterations 2000000 | ||
### Number of iterations after which to save | ||
llg_n_iterations_log 2000 | ||
|
||
### temperature [K] | ||
llg_temperature 0 | ||
|
||
### damping [none] | ||
llg_damping 0.3E+0 | ||
|
||
### time step dt | ||
llg_dt 1.0E-3 | ||
|
||
### Bools 0 = false || 1 = true | ||
llg_renorm 1 | ||
|
||
### Spin transfer torque parameter proportional to injected current density | ||
llg_stt_magnitude 0.0 | ||
|
||
### spin current polarisation normal vector | ||
llg_stt_polarisation_normal 1.0 0.0 0.0 | ||
|
||
### Force convergence parameter | ||
llg_force_convergence 10e-9 | ||
############## End LLG_Parameters ############## | ||
|
||
|
||
|
||
################ GNEB_Parameters ################ | ||
gneb_spring_constant 1.0 | ||
|
||
### Bools 0 = false || 1 = true | ||
gneb_renorm 1 | ||
|
||
### Number of GNEB Energy interpolations | ||
gneb_n_energy_interpolations 10 | ||
|
||
### Force convergence parameter | ||
gneb_force_convergence 10e-7 | ||
|
||
### Number of iterations and saves | ||
gneb_n_iterations 200000 | ||
gneb_n_iterations_log 200 | ||
############## End GNEB_Parameters ############## | ||
|
||
|
||
|
||
############# Hamiltonian_Isotropic ############# | ||
|
||
### boundary_conditions (in a b c) = 0(open), 1(periodical) | ||
boundary_conditions 1 1 1 | ||
|
||
### external magnetic field vector[T] | ||
external_field_magnitude 0.0 | ||
external_field_normal 0.0 0.0 1.0 | ||
### µSpin | ||
mu_s= 2.0 | ||
|
||
### Uniaxial anisotropy constant [meV] | ||
anisotropy_magnitude 0.0 | ||
anisotropy_normal 0.0 0.0 1.0 | ||
|
||
### Dipole-Dipole radius | ||
dd_radius 0.0 | ||
|
||
### Pairs | ||
interaction_pairs_file input/anisotropic/pairs-example-hopfion.txt | ||
|
||
########### End Hamiltonian_Anisotropic ########### |
Oops, something went wrong.