(git:97501a3)
Loading...
Searching...
No Matches
qs_apt_fdiff_types.F
Go to the documentation of this file.
1
!--------------------------------------------------------------------------------------------------!
2
! CP2K: A general program to perform molecular dynamics simulations !
3
! Copyright 2000-2025 CP2K developers group <https://cp2k.org> !
4
! !
5
! SPDX-License-Identifier: GPL-2.0-or-later !
6
!--------------------------------------------------------------------------------------------------!
7
8
! **************************************************************************************************
9
!> \brief Atomic Polarization Tensor calculation by dF/d(E-field) finite differences
10
!> \author Leo Decking, Hossam Elgabarty
11
! **************************************************************************************************
12
13
MODULE
qs_apt_fdiff_types
14
15
USE
kinds
,
ONLY
:
dp
16
!USE physcon, ONLY: debye
17
#include "./base/base_uses.f90"
18
19
IMPLICIT NONE
20
PRIVATE
21
CHARACTER(len=*)
,
PARAMETER
,
PRIVATE
:: moduleN =
'qs_apt_fdiff_types'
22
LOGICAL
,
PARAMETER
,
PRIVATE
:: debug_this_module = .false.
23
PUBLIC
::
apt_fdiff_point_type
,
apt_fdiff_points_type
24
25
TYPE
apt_fdiff_point_type
26
REAL
(kind=
dp
),
DIMENSION(:, :)
,
ALLOCATABLE
:: forces
27
END TYPE
apt_fdiff_point_type
28
29
TYPE
apt_fdiff_points_type
30
!TYPE(apt_fdiff_point_type) :: point_no_field ! Only for forward differences
31
TYPE
(
apt_fdiff_point_type
),
DIMENSION(1:3, 1:2)
:: point_field =
apt_fdiff_point_type
()
32
REAL
(kind=
dp
) :: field_strength = 0.0_dp
33
END TYPE
apt_fdiff_points_type
34
35
END MODULE
qs_apt_fdiff_types
kinds
Defines the basic variable types.
Definition
kinds.F:23
kinds::dp
integer, parameter, public dp
Definition
kinds.F:34
qs_apt_fdiff_types
Atomic Polarization Tensor calculation by dF/d(E-field) finite differences.
Definition
qs_apt_fdiff_types.F:13
qs_apt_fdiff_types::apt_fdiff_point_type
Definition
qs_apt_fdiff_types.F:25
qs_apt_fdiff_types::apt_fdiff_points_type
Definition
qs_apt_fdiff_types.F:29
qs_apt_fdiff_types.F
Generated by
1.9.8