-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from j-fu/jf-parallel2
Restructuring for parallelization
- Loading branch information
Showing
31 changed files
with
5,463 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
style = "sciml" | ||
style = "yas" | ||
always_for_in = false | ||
separate_kwargs_with_semicolon = true | ||
format_markdown = true | ||
import_to_using = false | ||
pipe_to_function_call = false | ||
short_to_long_function_def = false | ||
always_use_return = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
QUARRY | ||
docs/build | ||
*~ | ||
Manifest.toml | ||
Manifest*.toml | ||
.repl_history | ||
quarry | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
module Experimental | ||
using ExtendableSparse, SparseArrays | ||
using LinearAlgebra | ||
using SparseArrays: AbstractSparseMatrixCSC | ||
import SparseArrays: nonzeros, getcolptr,nzrange | ||
import ExtendableSparse: flush!, reset!, rawupdateindex!, findindex | ||
using ExtendableSparse: ColEntry, AbstractPreconditioner, @makefrommatrix, phash | ||
using ExtendableSparse: AbstractExtendableSparseMatrixCSC, AbstractSparseMatrixExtension | ||
using DocStringExtensions | ||
using Metis | ||
using Base.Threads | ||
using OhMyThreads: @tasks | ||
import ExtendableSparse: factorize!, update!, partitioning! | ||
|
||
include(joinpath(@__DIR__, "ExtendableSparseMatrixParallel", "ExtendableSparseParallel.jl")) | ||
|
||
include(joinpath(@__DIR__, "ExtendableSparseMatrixParallel", "ilu_Al-Kurdi_Mittal.jl")) | ||
#using .ILUAM | ||
include(joinpath(@__DIR__, "ExtendableSparseMatrixParallel", "pilu_Al-Kurdi_Mittal.jl")) | ||
#using .PILUAM | ||
|
||
include(joinpath(@__DIR__, "ExtendableSparseMatrixParallel" ,"iluam.jl")) | ||
include(joinpath(@__DIR__, "ExtendableSparseMatrixParallel", "piluam.jl")) | ||
|
||
@eval begin | ||
@makefrommatrix ILUAMPreconditioner | ||
@makefrommatrix PILUAMPreconditioner | ||
end | ||
|
||
function factorize!(p::PILUAMPreconditioner, A::ExtendableSparseMatrixParallel) | ||
p.A = A | ||
update!(p) | ||
p | ||
end | ||
|
||
export ExtendableSparseMatrixParallel, SuperSparseMatrixLNK | ||
export addtoentry!, reset!, dummy_assembly!, preparatory_multi_ps_less_reverse, fr, addtoentry!, compare_matrices_light | ||
export ILUAMPreconditioner, PILUAMPreconditioner | ||
export reorderlinsys, nnz_noflush | ||
|
||
|
||
|
||
end | ||
|
Oops, something went wrong.
91aa015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
91aa015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/111187
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: