Reference
Contents
Index
PartitionedVectors.AbstractPartitionedVectorPartitionedVectors.PartitionedVectorBase.getindexBase.setindex!LinearAlgebra.dotPartitionedVectors.LinearOperator_for_VectorPartitionedVectors._filterPartitionedVectors.build!PartitionedVectors.find_pvPartitionedVectors.partitionedMulOp!PartitionedVectors.partitionedMulOpVec!PartitionedVectors.set!
PartitionedVectors.AbstractPartitionedVector — Type
AbstractPartitionedVector{T} <: DenseVector{T}Abstract type for PartitionedVector<:AbstractPartitionedVector{T}. Krylov.jl requires PartitionedVector<:DenseVector{T}.
PartitionedVectors.PartitionedVector — Type
PartitionedVector{T} <: AbstractPartitionedVector{T}Wrap PartitionedStructures.Elemental_pv to behave as an AbstractVector.
Base.getindex — Method
element_vector = getindex(pv::PartitionedVector, i::Int)Return the i-th element of pv, e.g. the i-th element vector.
Base.setindex! — Method
setindex!(pv::PartitionedVector, val::Elemental_elt_vec, index::Int)
setindex!(pv::PartitionedVector{T}, val::T, index::Int) where T<:Number
setindex!(pv::PartitionedVector{T}, val::Vector{T}, index::Int) where T<:NumberSet pv[index] (i.e. the index-th element vector) to val.
LinearAlgebra.dot — Method
dot(pv1::PartitionedVector{T}, pv2::PartitionedVector{T}; kwargs...) where {T}
dot(pv1::PartitionedVector{T}, pv2::PartitionedVector{T}, ::Val{true}, ::Val{false}; kwargs...) where {T}
dot(pv1::PartitionedVector{T}, pv2::PartitionedVector{T}, ::Val{false}, ::Val{true}; kwargs...) where {T}
dot(pv1::PartitionedVector{T}, pv2::PartitionedVector{T}, ::Val{true}, ::Val{true}; kwargs...) where {T}
dot(pv1::PartitionedVector{T}, pv2::PartitionedVector{T}, ::Val{false}, ::Val{false}; kwargs...) where {T}Compute the dot product between two partitioned vectors. Methods having Val{true} and Val{false} as parameters compute dedicated dot routines depending the usage of pv1, pv2. See the tutorial for more details about the usage of a PartitionedVector.
PartitionedVectors.LinearOperator_for_Vector — Method
lo = LinearOperator_for_Vector(epm::Part_mat{T})Return the linear-operator lo which use a partitioned-matrix and Vectors.
PartitionedVectors._filter — Method
_filter(i::Int, arg::Tuple{})
element_vector = _filter(i::Int, arg::PartitionedVector)
_filter(i::Int, arg::Any)
_filter(i::Int, args::Tuple)Pass through a Tuple to select the i-th element if necessary.
PartitionedVectors.build! — Method
build!(pv::PartitionedVector)Set in place of pv.epv.v the Vector that pv represents. If pv.simulate=false, it aggregates contributions from elemental vectors. If pv.simulate=true, common variables among element vectors value the same. For each index 1 ≤ i ≤ n, , build! will take the first element containing i and sets pv.epv.v[i] to its value.
PartitionedVectors.find_pv — Method
pv = find_pv(bc::Base.Broadcast.Broadcasted)
pv = find_pv(x::PartitionedVector)
pv = find_pv(x::PartitionedVector, a::Any)
pv = find_pv(x::Any, a::Any)Pass through a Broadcasted tape to retrieve a PartitionedVector.
PartitionedVectors.partitionedMulOp! — Method
partitionedMulOp!(epm::PS.Part_mat, Hv::PartitionedVector, pv_res::PartitionedVector, pv::PartitionedVector, α, β)Partitioned matrix-vector product for PartitionedVectors: Hv, res and v.
PartitionedVectors.partitionedMulOpVec! — Method
partitionedMulOpVec!(epm::PS.Part_mat{T}, Hv::Vector{T}, res::Vector{T}, v::Vector{T}, α, β;Partitioned matrix-vector product for Vectors: Hv, res and v. Made to test LinearOperators.LinearOperator(epm::Part_mat{T}) (which relies on PartitionedVectors).
PartitionedVectors.set! — Method
set!(pv::PartitionedVector{T}, v::Vector{T})Set inplace pv such that each element values Uᵢv.