NESSie.BEM
NESSie.BEM.KfunNESSie.BEM.KyfunNESSie.BEM.LocalSystemMatrixNESSie.BEM.NonlocalSystemMatrixNESSie.BEM.VfunNESSie.BEM.VyfunNESSie.BEM._espotential_ΓNESSie.BEM._espotential_ΣNESSie.BEM._espotential_ΩNESSie.BEM._get_laplace_matricesNESSie.BEM._get_yukawa_matricesNESSie.BEM._rfpotential_ΓNESSie.BEM._rfpotential_ΣNESSie.BEM._rfpotential_ΩNESSie.BEM._solve_explicitNESSie.BEM._solve_implicitNESSie.BEM._solve_linear_system
Solvers
NESSie.BEM._get_laplace_matrices — Function
_get_laplace_matrices(
Ξ ::Vector{Vector{T}},
elements::Vector{Triangle{T}}
)Constructs and returns implicit representations for the single- and double-layer Laplace potential matrices V and K for the given observation points and surface elements.
Return type
[Tuple{InteractionMatrix{T}, InteractionMatrix{T}}] (https://tkemmer.github.io/ImplicitArrays.jl/stable/#ImplicitArrays.InteractionMatrix)
NESSie.BEM._get_yukawa_matrices — Function
_get_yukawa_matrices(
Ξ ::Vector{Vector{T}},
elements::Vector{Triangle{T}},
yuk ::T
)Constructs and returns implicit representations for the single- and double-layer Yukawa potential matrices V^Y and K^Y for the given observation points and surface elements.
Return type
[Tuple{InteractionMatrix{T}, InteractionMatrix{T}}] (https://tkemmer.github.io/ImplicitArrays.jl/stable/#ImplicitArrays.InteractionMatrix)
NESSie.BEM._solve_explicit — Function
_solve_explicit(
::Type{<: LocalityType},
model::Model{T, Triangle{T}}
)Computes the full local or nonlocal cauchy data on the surface of the biomolecule using an explicit representation of the BEM system.
Return type
LocalBEMResult{T, Triangle{T}} or NonlocalBEMResult{T, Triangle{T}}
NESSie.BEM._solve_implicit — Function
_solve_implicit(
::Type{<: LocalityType},
model::Model{T, Triangle{T}}
)Computes the full local or nonlocal cauchy data on the surface of the biomolecule using an implicit representation of the BEM system.
Return type
LocalBEMResult{T, Triangle{T}} or NonlocalBEMResult{T, Triangle{T}}
NESSie.BEM._solve_linear_system — Function
_solve_linear_system(
A::AbstractArray{T, 2},
b::AbstractArray{T, 1}
)Solves the linear system Ax = b from A and b using a Jacobi-preconditioned GMRES solver.
Return type
Array{T, 1}
Supported keyword arguments
Everything from [IterativeSolvers.gmres] (https://iterativesolvers.julialinearalgebra.org/stable/linear_systems/gmres/) except for log.
Implicit potential matrices
NESSie.BEM.Kfun — Type
struct Kfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T} endInteraction function for an implicit representation of potential matrix K.
NESSie.BEM.Kyfun — Type
struct Kyfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T}
yuk::T # exponent of the Yukawa operator's fundamental solution
endInteraction function for an implicit representation of potential matrix Kʸ.
NESSie.BEM.Vfun — Type
struct Vfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T} endInteraction function for an implicit representation of potential matrix V.
NESSie.BEM.Vyfun — Type
struct Vyfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T}
yuk::T # exponent of the Yukawa operator's fundamental solution
endInteraction function for an implicit representation of potential matrix Vʸ.
Implicit system matrices
NESSie.BEM.LocalSystemMatrix — Type
struct LocalSystemMatrix{T} <: AbstractArray{T, 2}
K ::InteractionMatrix{T} # double-layer Laplace
params::Option{T} # System constants
endImplicit representation of the first local BEM system matrix.
NESSie.BEM.NonlocalSystemMatrix — Type
struct NonlocalSystemMatrix{T} <: AbstractArray{T, 2}
V ::InteractionMatrix{T} # single-layer Laplace
K ::InteractionMatrix{T} # double-layer Laplace
Vy ::InteractionMatrix{T} # single-layer Yukawa
Ky ::InteractionMatrix{T} # double-layer Yukawa
params::Option{T} # system constants
endImplicit representation of the nonlocal BEM system matrix.
Special constructors
function NonlocalSystemMatrix{T}(
Ξ ::Vector{Vector{T}},
elements::Vector{Triangle{T}},
params ::Option{T}
) where TCreates the nonlocal system matrix directly from the given observation points Ξ and surface elements.
Potentials
NESSie.BEM._espotential_Γ — Function
_espotential_Γ(ξ::Vector{T}, bem::BEMResult{T})
_espotential_Γ(Ξ::AbstractVector{Vector{T}}, bem::BEMResult{T})Computes the local or nonlocal electrostatic potential for (an) observation point(s) ξ (Ξ) on the molecular surface.
Supported keyword arguments
See molpotential
Unit
$V = \frac{C}{F}$
Return type
T or Vector{T}
NESSie.BEM._espotential_Ω — Function
_espotential_Ω(ξ::Vector{T}, bem::BEMResult{T})
_espotential_Ω(Ξ::AbstractVector{Vector{T}}, bem::BEMResult{T})Computes the local or nonlocal electrostatic potential for (an) observation point(s) ξ (Ξ) inside the molecule.
Supported keyword arguments
See molpotential
Unit
$V = \frac{C}{F}$
Return type
T or Vector{T}
NESSie.BEM._espotential_Σ — Function
_espotential_Σ(ξ::Vector{T}, bem::BEMResult{T})
_espotential_Σ(Ξ::AbstractVector{Vector{T}}, bem::BEMResult{T})Computes the local or nonlocal electrostatic potential for (an) observation point(s) ξ (Ξ) in the solvent domain.
Unit
$V = \frac{C}{F}$
Return type
T or Vector{T}
NESSie.BEM._rfpotential_Γ — Function
_rfpotential_Γ(ξ::Vector{T}, bem::BEMResult{T})
_rfpotential_Γ(Ξ::AbstractVector{Vector{T}}, bem::BEMResult{T})Computes the local or nonlocal reaction field potential for (an) observation point(s) ξ (Ξ) on the molecular surface.
Unit
$V = \frac{C}{F}$
Return type
T or Vector{T}
NESSie.BEM._rfpotential_Ω — Function
_rfpotential_Ω(ξ::Vector{T}, bem::BEMResult{T})
_rfpotential_Ω(Ξ::AbstractVector{Vector{T}}, bem::BEMResult{T})Computes the local or nonlocal reaction field potential for (an) observation point(s) ξ (Ξ) inside the molecule.
Unit
$V = \frac{C}{F}$
Return type
T or Vector{T}
NESSie.BEM._rfpotential_Σ — Function
_rfpotential_Σ(ξ::Vector{T}, bem::BEMResult{T})
_rfpotential_Σ(Ξ::AbstractVector{Vector{T}}, bem::BEMResult{T})Computes the local or nonlocal reaction field potential for (an) observation point(s) ξ (Ξ) in the solvent domain.
Supported keyword arguments
See molpotential
Unit
$V = \frac{C}{F}$
Return type
T or Vector{T}