(git:24d69ee)
Loading...
Searching...
No Matches
integral_library_types.F
Go to the documentation of this file.
1!--------------------------------------------------------------------------------------------------!
2! CP2K: A general program to perform molecular dynamics simulations !
3! Copyright 2000-2026 CP2K developers group <https://cp2k.org> !
4! !
5! SPDX-License-Identifier: GPL-2.0-or-later !
6!--------------------------------------------------------------------------------------------------!
7
8! **************************************************************************************************
9!> \brief Library choices for electronic integral APIs.
10! **************************************************************************************************
13 USE kinds, ONLY: default_path_length,&
14 dp
15
16 IMPLICIT NONE
17
18 PRIVATE
19
20 INTEGER, PARAMETER, PUBLIC :: library_native = 0, &
22
23 TYPE, PUBLIC :: integral_library_type
24 INTEGER :: coulomb2_library = library_native
25 INTEGER :: coulomb3_library = library_native
27
28 TYPE, PUBLIC :: coulomb_operator_type
29 INTEGER :: potential_type = do_potential_coulomb
30 REAL(dp) :: omega = 0.0_dp ! SR: erfc(omega*r)/r
31 REAL(dp) :: cutoff_radius = 0.0_dp ! TC cutoff/effective SR range
32 CHARACTER(default_path_length) :: filename = ""
33 REAL(dp) :: scale_coulomb = 0.0_dp ! Only for WFC methods
34 REAL(dp) :: scale_longrange = 0.0_dp ! Only for WFC methods
36
38
collects all constants needed in input so that they can be used without circular dependencies
integer, parameter, public do_potential_coulomb
Library choices for electronic integral APIs.
type(integral_library_type), save, public active_integral_library
integer, parameter, public library_native
integer, parameter, public library_libint
Defines the basic variable types.
Definition kinds.F:23
integer, parameter, public dp
Definition kinds.F:34
integer, parameter, public default_path_length
Definition kinds.F:58