new_d4s_model Interface

public interface new_d4s_model

Create new D4 dispersion model from molecular structure input


Module Procedures

private subroutine new_d4s_model_no_checks(d4, mol, ga, gc, ref)

Create new dispersion model from molecular structure input without checking for supported elements (old/compatibility version)

Arguments

Type IntentOptional Attributes Name
type(d4s_model), intent(out) :: d4

Instance of the dispersion model

class(structure_type), intent(in) :: mol

Molecular structure data

real(kind=wp), intent(in), optional :: ga

Charge scaling height

real(kind=wp), intent(in), optional :: gc

Charge scaling steepness

integer, intent(in), optional :: ref

Reference charge selection

private subroutine new_d4s_model_with_checks(error, d4, mol, ga, gc, ref)

Create new D4S dispersion model from molecular structure input

Arguments

Type IntentOptional Attributes Name
type(error_type), intent(out), allocatable :: error

Error handling

type(d4s_model), intent(out) :: d4

Instance of the dispersion model

class(structure_type), intent(in) :: mol

Molecular structure data

real(kind=wp), intent(in), optional :: ga

Charge scaling height

real(kind=wp), intent(in), optional :: gc

Charge scaling steepness

integer, intent(in), optional :: ref

Reference charge selection