Octopus
magnetic_constrain.F90 File Reference

Go to the source code of this file.

Modules

module  magnetic_constrain_oct_m
 This modules implements the routines for doing constrain DFT for noncollinear magnetism.
 

Data Types

type  magnetic_constrain_oct_m::magnetic_constrain_t
 Datatype containing the magnetic constrain information. More...
 

Functions/Subroutines

subroutine, public magnetic_constrain_oct_m::magnetic_constrain_init (this, namespace, mesh, std, natoms, min_dist)
 Initilializes the magnetic_constrain_t object. More...
 
subroutine, public magnetic_constrain_oct_m::magnetic_constrain_end (this)
 Releases memory of the magnetic constrain. More...
 
subroutine, public magnetic_constrain_oct_m::magnetic_constrain_update (this, mesh, std, space, latt, pos, rho)
 Recomputes the magnetic contraining potential. More...
 

Variables

integer, parameter, public magnetic_constrain_oct_m::constrain_none = 0
 
integer, parameter, public magnetic_constrain_oct_m::constrain_dir = 1
 
integer, parameter, public magnetic_constrain_oct_m::constrain_full = 2
 
real(real64), parameter magnetic_constrain_oct_m::tol_mag_norm = 1.0e-6_real64