TABLE OF CONTENTS


ABINIT/m_strain [ Modules ]

[ Top ] [ Modules ]

NAME

 m_strain

FUNCTION

 Module for get the strain
 Container type is defined

COPYRIGHT

 Copyright (C) 2010-2022 ABINIT group (AM)
 This file is distributed under the terms of the
 GNU General Public Licence, see ~abinit/COPYING
 or http://www.gnu.org/copyleft/gpl.txt .
 For the initials of contributors, see ~abinit/doc/developers/contributors.txt .

SOURCE

19 #if defined HAVE_CONFIG_H
20 #include "config.h"
21 #endif
22 
23 #include "abi_common.h"
24 
25 module m_strain
26 
27  use defs_basis
28  use m_errors
29  use m_abicore
30  use m_xmpi
31 
32  use m_symtk,         only : matr3inv
33 
34  implicit none
35 
36  private :: strain_def2strain
37  private :: strain_strain2def
38  public  :: strain_print
39  public  :: strain_get
40  public  :: strain_init
41  public  :: strain_apply

m_strain/strain_type [ Types ]

[ Top ] [ m_strain ] [ Types ]

NAME

 strain_type

FUNCTION

 structure for a effective potential constructed.

SOURCE

53  type, public :: strain_type
54    character(len=fnlen) :: name
55 !   name of the strain (iso,uniaxial,shear...)
56 
57    real(dp) :: delta
58 !   Value of the strain
59 
60    integer :: direction
61 !   Direction of the strain (-1 if isostatic)
62 
63    real(dp) :: strain(3,3)
64 !   Matrix representing the strain
65 
66  end type strain_type