Skip to content
Snippets Groups Projects
Commit 9927cbba authored by Manuel Dias's avatar Manuel Dias
Browse files

bfield file not required when using only constraining fields

parent d2212b65
No related branches found
No related tags found
No related merge requests found
......@@ -252,8 +252,10 @@ contains
if (ierror/=0) then
write(*,*) '[read_bfield] bfield file does not exist'
write(*,*) ' setting all bfields to zero'
write(*,*) ' disabling magnetic field lbfield = F'
bfield%lbfield = .false.
if (.not.bfield%lbfield_constr) then
write(*,*) ' disabling magnetic field lbfield = F'
bfield%lbfield = .false.
end if
do iatom=1,natyp
bfield%theta(iatom) = 0.0D0
bfield%phi(iatom) = 0.0D0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment