Skip to content

Commit

Permalink
Drafting psparse_new
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Dec 21, 2023
1 parent d3f9613 commit 11bccc5
Show file tree
Hide file tree
Showing 4 changed files with 327 additions and 258 deletions.
7 changes: 6 additions & 1 deletion src/PartitionedArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export ghost_to_local
export local_to_own
export local_to_ghost
export replace_ghost
export remove_ghost
export union_ghost
export find_owner
export assemble!
Expand Down Expand Up @@ -116,8 +117,12 @@ include("p_vector.jl")

export PSparseMatrix
export psparse
export psparse_new
export split_format
export Disassembled
export Subassembled
export Assembled
export psparse!
export psparse_split_format!
export own_ghost_values
export ghost_own_values
include("p_sparse_matrix.jl")
Expand Down
4 changes: 4 additions & 0 deletions src/p_range.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ only makes sense if `indices` stores ghost ids in separate vectors like in
"""
function replace_ghost end

function remove_ghost(indices)
replace_ghost(indices,Int[],Int32[])
end

function filter_ghost(indices,gids,owners)
set = Set{Int}()
part_owner = part_id(indices)
Expand Down
Loading

0 comments on commit 11bccc5

Please sign in to comment.