richard-evans / vampire

Atomistic simulator for magnetic materials
GNU General Public License v2.0
124 stars 94 forks source link

The program is aborted saying that the exchange matrix is greater than 1.0e18 but my exchange matrix is 1.512e-12. #79

Closed Arcadio-Buendia closed 1 year ago

Arcadio-Buendia commented 2 years ago

The program is aborted saying that the exchange matrix is greater than 1.0e18 but my exchange matrix is 1.512e-12.

20-04-2022 [14:48:35] Version    : 6.0.0
20-04-2022 [14:48:35] Githash    : 4c9651daecc86c3e6b6df0c8055fcd9e89fd900c
20-04-2022 [14:48:35] Opening main input file "input".
20-04-2022 [14:48:35] Parsing system parameters from main input file.
20-04-2022 [14:48:35] Opening material file "rev.mat".
20-04-2022 [14:48:35] Parsing material file for parameters.
20-04-2022 [14:48:35] Error: material:exchange-matrix on line 10 of material file must be in the range  < +/- 1.0e18.
20-04-2022 [14:48:35] Fatal error: Aborting program.

But my material file is:

#---------------------------------------------------
# Number of Materials
#---------------------------------------------------
material:num-materials=1
#---------------------------------------------------
# Material 1
#---------------------------------------------------
material[1]:material-name=rev
material[1]:damping-constant=1.0
material[1]:exchange-matrix[1]=1.512e-12
material[1]:atomic-spin-moment=0.7 !muB
material[1]:second-order-uniaxial-anisotropy-constant=0
material[1]:material-element=Ag
material[1]:minimum-height=0.0
material[1]:maximum-height=1.0
1songyan commented 1 year ago

In most cases, it's around e-21,maybe you need to reconfirm the unit