mbd_damping Module

Damping functions.



Contents


Derived Types

type, public :: damping_t

Represents a damping function.

Components

TypeVisibility AttributesNameInitial
character(len=20), public :: version
real(kind=dp), public :: beta =0d0
real(kind=dp), public :: a =MBD_DAMPING_A
real(kind=dp), public :: ts_d =TS_DAMPING_D
real(kind=dp), public :: ts_sr =0d0
real(kind=dp), public :: mayer_scaling =1d0
real(kind=dp), public, allocatable:: r_vdw(:)
real(kind=dp), public, allocatable:: sigma(:)
real(kind=dp), public, allocatable:: damping_custom(:,:)
real(kind=dp), public, allocatable:: potential_custom(:,:,:,:)

Type-Bound Procedures

procedure, public :: set_params_from_xc => damping_set_params_from_xc

Functions

public function damping_fermi(r, s_vdw, d, df, grad) result(f)

Arguments

Type IntentOptional AttributesName
real(kind=dp), intent(in) :: r(3)
real(kind=dp), intent(in) :: s_vdw
real(kind=dp), intent(in) :: d
type(grad_scalar_t), intent(out), optional :: df
type(grad_request_t), intent(in), optional :: grad

Return Value real(kind=dp)