NESSie.BEM

Solvers

NESSie.BEM._solve_linear_systemFunction
_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 except for log.

source

Implicit potential matrices

NESSie.BEM.KfunType
struct Kfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T}
    dat::Vector{T}   # pre-allocated vector for internal use
end

Interaction function for an implicit representation of potential matrix K.

Special constructors

Kfun{T}()

Automatically initializes the internal data vector. Replaces the default constructor.

source
NESSie.BEM.KyfunType
struct Kyfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T}
    yuk::T   # exponent of the Yukawa operator's fundamental solution
end

Interaction function for an implicit representation of potential matrix .

source
NESSie.BEM.VfunType
struct Vfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T}
    dat::Vector{T}   # pre-allocated vector for internal use
end

Interaction function for an implicit representation of potential matrix V.

Special constructors

Vfun{T}()

Automatically initializes the internal data vector. Replaces the default constructor.

source
NESSie.BEM.VyfunType
struct Vyfun{T} <: InteractionFunction{Vector{T}, Triangle{T}, T}
    yuk::T   # exponent of the Yukawa operator's fundamental solution
end

Interaction function for an implicit representation of potential matrix .

source

Implicit system matrices

NESSie.BEM.LocalSystemMatrixType
struct LocalSystemMatrix{T} <: AbstractArray{T, 2}
    K     ::InteractionMatrix{T}   # double-layer Laplace
    params::Option{T}              # System constants
end

Implicit representation of the first local BEM system matrix.

source
NESSie.BEM.NonlocalSystemMatrixType
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
end

Implicit representation of the nonlocal BEM system matrix.

Special constructors

function NonlocalSystemMatrix{T}(
    Ξ       ::Vector{Vector{T}},
    elements::Vector{Triangle{T}},
    params  ::Option{T}
) where T

Creates the nonlocal system matrix directly from the given observation points Ξ and surface elements.

source