Octopus
magnetic_constrain_oct_m Module Reference

Data Types

type  magnetic_constrain_t
 

Functions/Subroutines

subroutine, public magnetic_constrain_init (this, namespace, mesh, std, rho, natoms, min_dist)
 
subroutine, public magnetic_constrain_end (this)
 
subroutine, public magnetic_constrain_update (this, mesh, std, space, latt, pos)
 

Variables

integer, parameter, public constrain_none = 0
 
integer, parameter, public constrain_dir = 1
 
integer, parameter, public constrain_full = 2
 

Function/Subroutine Documentation

◆ magnetic_constrain_init()

subroutine, public magnetic_constrain_oct_m::magnetic_constrain_init ( type(magnetic_constrain_t), intent(inout)  this,
type(namespace_t), intent(in)  namespace,
class(mesh_t), intent(in)  mesh,
type(states_elec_dim_t), intent(in)  std,
real(real64), dimension(:,:), intent(in), target  rho,
integer, intent(in)  natoms,
real(real64), intent(in)  min_dist 
)

Definition at line 160 of file magnetic_constrain.F90.

◆ magnetic_constrain_end()

subroutine, public magnetic_constrain_oct_m::magnetic_constrain_end ( type(magnetic_constrain_t), intent(inout)  this)

Definition at line 260 of file magnetic_constrain.F90.

◆ magnetic_constrain_update()

subroutine, public magnetic_constrain_oct_m::magnetic_constrain_update ( type(magnetic_constrain_t), intent(inout)  this,
class(mesh_t), intent(in)  mesh,
type(states_elec_dim_t), intent(in)  std,
class(space_t), intent(in)  space,
type(lattice_vectors_t), intent(in)  latt,
real(real64), dimension(:,:), intent(in)  pos 
)

Definition at line 273 of file magnetic_constrain.F90.

Variable Documentation

◆ constrain_none

integer, parameter, public magnetic_constrain_oct_m::constrain_none = 0

Definition at line 139 of file magnetic_constrain.F90.

◆ constrain_dir

integer, parameter, public magnetic_constrain_oct_m::constrain_dir = 1

Definition at line 139 of file magnetic_constrain.F90.

◆ constrain_full

integer, parameter, public magnetic_constrain_oct_m::constrain_full = 2

Definition at line 139 of file magnetic_constrain.F90.