Electrostatics

Potential types

NESSie.PotentialTypeType
abstract type PotentialType end
struct SingleLayer <: PotentialType end
struct DoubleLayer <: PotentialType end

Enum-like representation of single and double layer potentials

source
NESSie.SingleLayerType
struct SingleLayer <: PotentialType end

Enum-like representation of single layer potentials

source
NESSie.DoubleLayerType
struct DoubleLayer <: PotentialType end

Enum-like representation of double layer potentials

source

Locality assumption

NESSie.LocalityTypeType
abstract type LocalityType end
struct NonlocalES <: LocalityType end
struct LocalES    <: LocalityType end

Enum-like representation of locality assumptions

source
NESSie.LocalESType
struct LocalES <: LocalityType end

Enum-like representation of local electrostatics problems, assuming complete independenc of solvent molecules

source
NESSie.NonlocalESType
struct NonlocalES <: LocalityType end

Enum-like representation of nonlocal electrostatics problems, allowing solvent molecule correlation effects (with area-of-effect radius λ)

source

Potentials

NESSie.espotentialFunction
espotential(::Type{<: LocalityType}, ξ::Vector{T}, ion::BornIon{T})
espotential(::Type{<: LocalityType}, Ξ::AbstractArray{Vector{T}}, ion::BornIon{T})

Computes the local or nonlocal electrostatic potential(s) at the given observation point(s) ξ (Ξ). This function automatically locates the observation point(s).

The electrostatic potential is computed as the sum of the corresponding reaction field potential and the molecular potential.

Supported keyword arguments

See molpotential

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

Alias

espotential(domain::Symbol, ::Type{<: LocalityType}, ξ::Vector{T}, ::BornIon{T})espotential(domain::Symbol, ::Type{<: LocalityType}, Ξ::AbstractArray{Vector{T}}, ::BornIon{T})

Computes the electrostatic potential(s) for the given observation point(s) ξ (Ξ) and the given domain , , or .

source
espotential::Vector{T}, xie::XieTestModel{T})
espotential::AbstractArray{Vector{T}}, xie::XieTestModel{T})

Computes the local or nonlocal electrostatic potential(s) at the given observation point(s) ξ (Ξ).

The electrostatic potential is computed as the sum of the corresponding reaction field potential and the molecular potential.

Supported keyword arguments

See molpotential

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

Alias

espotential(domain::Symbol, ξ::Vector{T}, xie::XieTestModel{T})espotential(domain::Symbol, Ξ::AbstractArray{Vector{T}}, xie::XieTestModel{T})

Computes the electrostatic potential(s) for the given observation point(s) ξ (Ξ) and the given domain , , or .

source
espotential::Vector{T}, bem::BEMResult{T})
espotential::AbstractArray{Vector{T}}, bem::BEMResult{T})

Computes the local or nonlocal electrostatic potential(s) at the given observation point(s) ξ (Ξ). This function tries to automatically locate the observation point(s) using guess_domain.

The electrostatic potential is computed as the sum of the corresponding reaction field potential and the molecular potential.

Supported keyword arguments

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

Alias

espotential(domain::Symbol, ξ::Vector{T}, bem::BEMResult{T})espotential(domain::Symbol, Ξ::AbstractArray{Vector{T}}, bem::BEMResult{T})

Computes the electrostatic potential(s) for the given observation point(s) ξ (Ξ) and the given domain , , or .

source
NESSie.molpotentialFunction
molpotential::Vector{T}, ion::BornIon{T})
molpotential::AbstractArray{Vector{T}}, ion::BornIon{T})

Computes the molecular potential(s) at the given observation point(s) ξ (Ξ).

Supported keyword arguments

  • tolerance::T = 1e-10 minimum distance assumed between any observation point and point charge. Closer distances are replaced by this value.

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

source
molpotential::Vector{T}, xie::XieSphere{T})
molpotential::Vector{T}, xie::XieTestModel{T})
molpotential::AbstractArray{Vector{T}}, xie::XieSphere{T})
molpotential::AbstractArray{Vector{T}}, xie::XieTestModel{T})

Computes the molecular potential(s) at the given observation point(s) ξ (Ξ).

Supported keyword arguments

  • tolerance::T = 1e-10 minimum distance assumed between any observation point and point charge. Closer distances are replaced by this value.

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

source
molpotential::Vector{T}, bem::BEMResult{T})
molpotential::AbstractArray{Vector{T}}, bem::BEMResult{T})

Computes the molecular potential(s) at the given observation point(s) ξ (Ξ).

Supported keyword arguments

  • tolerance::T = 1e-10 minimum distance assumed between any observation point and point charge. Closer distances are replaced by this value.

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

source
molpotential::Vector{T}, model::Model{T})
molpotential::AbstractArray{Vector{T}}, model::Model{T})

Computes the molecular potential(s) at the given observation point(s) ξ (Ξ) for the given model.

Supported keyword arguments

  • tolerance::T = 1e-10 minimum distance assumed between any observation point and point charge. Closer distances are replaced by this value.

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

source
NESSie.rfpotentialFunction
rfpotential(::Type{<: LocalityType}, ξ::Vector{T}, ion::BornIon{T})
rfpotential(::Type{<: LocalityType}, Ξ::AbstractArray{Vector{T}}, ion::BornIon{T})

Computes the local or nonlocal reaction field potential(s) at the given observation point(s) ξ (Ξ). This function automatically locates the observation point(s).

Supported keyword arguments

See molpotential

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

Alias

rfpotential(domain::Symbol, ::Type{<: LocalityType}, ξ::Vector{T}, ::BornIon{T})rfpotential(domain::Symbol, ::Type{<: LocalityType}, Ξ::AbstractArray{Vector{T}}, ::BornIon{T})

Computes the reaction field potential(s) for the given observation point(s) ξ (Ξ) and the given domain , , or .

source
rfpotential::Vector{T}, xie::XieTestModel{T})
rfpotential::AbstractArray{Vector{T}}, xie::XieTestModel{T})

Computes the local or nonlocal reaction field potential(s) at the given observation point(s) ξ (Ξ).

Supported keyword arguments

See molpotential

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

Alias

rfpotential(domain::Symbol, ξ::Vector{T}, xie::XieTestModel{T})rfpotential(domain::Symbol, Ξ::AbstractArray{Vector{T}}, xie::XieTestModel{T})

Computes the reaction field potential(s) for the given observation point(s) ξ (Ξ) and the given domain , , or .

source
rfpotential::Vector{T}, bem::BEMResult{T})
rfpotential::AbstractArray{Vector{T}}, bem::BEMResult{T})

Computes the local or nonlocal reaction field potential(s) at the given observation point(s) ξ (Ξ). This function tries to automatically locate the observation point(s) using guess_domain.

Supported keyword arguments

Unit

$V = \frac{C}{F}$

Return type

T or Array{T}

Alias

rfpotential(domain::Symbol, ξ::Vector{T}, bem::BEMResult{T})rfpotential(domain::Symbol, Ξ::AbstractArray{Vector{T}}, bem::BEMResult{T})

Computes the reaction field potential(s) for the given observation point(s) ξ (Ξ) and the given domain , , or .

source

Potential energies

NESSie.rfenergyFunction
rfenergy(::Type{<: LocalityType}, ::BornIon{T})

Computes the local or nonlocal reaction field energy W*

\[W^* = ∫φ^* ρ \quad dΩ\]

where $φ^*$ is the reaction field and $ρ$ is the corresponding charge distribution.

Unit

$\frac{kJ}{mol}$

Return type

T

source
rfenergy(::XieTestModel{T})

Computes the local or nonlocal reaction field energy W*

\[W^* = ∫φ^* ρ \quad dΩ\]

where $φ^*$ is the reaction field and $ρ$ is the corresponding charge distribution.

Unit

$\frac{kJ}{mol}$

Return type

T

source
rfenergy(::BEMResult{T})

Computes the local or nonlocal reaction field energy W*

\[W^* = ∫φ^* ρ \quad dΩ\]

where $φ^*$ is the reaction field and $ρ$ is the corresponding charge distribution.

Unit

$\frac{kJ}{mol}$

Return type

T

source