Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block assemblers for v0.3 #124

Merged
merged 61 commits into from
Oct 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
759d7c6
Allowed kwargs for MultiFieldFESpace
JordiManyer Jun 18, 2023
881604f
Added constructor for BlockMatrixAssemblers
JordiManyer Jun 19, 2023
39c3009
Added missing methods to Matrix/Vector builders
JordiManyer Jun 20, 2023
e9ebafd
Working version of distributed BlockMatrixAssemblers
JordiManyer Jun 20, 2023
0f76d17
Added empty block assembly filtering
JordiManyer Jun 20, 2023
3ebe251
Added zero_block for PSparseMatrix
JordiManyer Jun 20, 2023
0507872
Block-Vector matrix multiplication works
JordiManyer Jun 21, 2023
78a53da
AffineFEOperators working for Block assemblers
JordiManyer Jun 21, 2023
409c7ad
Started implementing the new version of block assemblers
JordiManyer Jul 2, 2023
669fc54
Working version
JordiManyer Jul 2, 2023
fe07a31
Updated with Gridap changes
JordiManyer Jul 4, 2023
b6c120c
Combined-block assembly working
JordiManyer Jul 4, 2023
2c6879d
Added temporary fix to ensure PRanges are same for all blocks
JordiManyer Jul 5, 2023
1a1c47a
Merge branch 'partitioned_arrays_v0.3' of github.com:gridap/GridapDis…
JordiManyer Aug 13, 2023
9b1620c
First round of fixes
JordiManyer Aug 13, 2023
265a9d0
More fixes
JordiManyer Aug 14, 2023
8f95c71
Started implementing PRange merging when assembling
JordiManyer Aug 14, 2023
f756f41
Finished optimizing assembly
JordiManyer Aug 15, 2023
c5bd680
Updated tests
JordiManyer Aug 15, 2023
7c033b5
Added docs/manifest.toml to gitignore
JordiManyer Aug 15, 2023
dca9a58
Fixed AffineFEOperators
JordiManyer Aug 15, 2023
ee07718
Tests working for arbitrary block assembly
JordiManyer Aug 15, 2023
79e294b
Merge branch 'master' of github.com:gridap/GridapDistributed.jl into …
JordiManyer Aug 22, 2023
97611f5
Fixed block assembler tests
JordiManyer Aug 22, 2023
635b649
Minor fix
JordiManyer Aug 22, 2023
0f9bf91
Moved code around
JordiManyer Aug 22, 2023
7bc9706
Added block assemblers tests to testset
JordiManyer Aug 22, 2023
aee8566
Updated NEWS.md
JordiManyer Aug 22, 2023
25ece1f
Updated TestApp dependencies
JordiManyer Aug 22, 2023
66510e4
Improvements to change_ghost
JordiManyer Aug 25, 2023
d42b6f7
Changes to MultiField
JordiManyer Aug 25, 2023
661ee0f
Update tests
JordiManyer Aug 25, 2023
bdb6b62
Move to_parray_of_arrays to Algebra.jl
JordiManyer Aug 25, 2023
9787cce
Bugfix: change_ghosts wrong for OwnAndGhostVectors
JordiManyer Aug 28, 2023
9c674fd
Added kwarg own_and_ghost for FESpaces
JordiManyer Aug 28, 2023
580266d
Implemented BlockPartitionedArrays
JordiManyer Aug 29, 2023
35579bb
Added tests for BlockPartitionedArrays
JordiManyer Aug 29, 2023
cf59ff2
Updated block assembly to use BlockPartitionedArrays
JordiManyer Aug 29, 2023
5f2923b
Fixed import order
JordiManyer Aug 29, 2023
f73f0d6
BlockMultiFieldStyle now returns BlockPVector free values
JordiManyer Aug 29, 2023
480ff0a
Small cleanup
JordiManyer Aug 29, 2023
c8c6d2a
More cleanup
JordiManyer Aug 29, 2023
6afb3f4
Expand block assembly tests
JordiManyer Aug 30, 2023
3d1d5ed
Added DistributedAssemblyStartegy
JordiManyer Aug 30, 2023
203bebb
Implemented missing methods for BlockPArrays
JordiManyer Aug 30, 2023
79b13eb
Small bugfix
JordiManyer Aug 30, 2023
160cfb8
Add rmul!
JordiManyer Aug 30, 2023
3faace9
Revert ParallelAssemblyStrategy
JordiManyer Aug 31, 2023
dceb819
own_and_ghost renamed to split_own_and_ghost
JordiManyer Aug 31, 2023
a9e86bd
Expanded tests for OwnAndGhostVectors
JordiManyer Aug 31, 2023
5b52a4f
Merge pull request #128 from gridap/exploring-ghost-optimisation
JordiManyer Aug 31, 2023
d9563c4
Merge branch 'master' of github.com:gridap/GridapDistributed.jl into …
JordiManyer Aug 31, 2023
67203fb
Updated NEWS
JordiManyer Aug 31, 2023
8c4b953
Added local_views for BlockPArrays
JordiManyer Sep 8, 2023
13ae464
Merge branch 'master' of github.com:gridap/GridapDistributed.jl into …
JordiManyer Oct 2, 2023
eee16f9
Minor
JordiManyer Oct 2, 2023
b11170d
Added Adaptivity.jl and BlockPartitionedArrays.jl to docs
JordiManyer Oct 2, 2023
84be1f5
Minor changes to docs
JordiManyer Oct 2, 2023
7457e58
More fixes to docs
JordiManyer Oct 2, 2023
a5fb46e
Minor
JordiManyer Oct 2, 2023
90df49b
Updated NEWS.md
JordiManyer Oct 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add rmul!
JordiManyer committed Aug 30, 2023
commit 160cfb8809c90e92f2205c674b5866cb5b407471
5 changes: 5 additions & 0 deletions src/BlockPartitionedArrays.jl
Original file line number Diff line number Diff line change
@@ -190,6 +190,11 @@ function Base.all(f::Function,x::BlockPVector)
all(map(xi->all(f,xi),blocks(x)))
end

function LinearAlgebra.rmul!(a::BlockPVector,v::Number)
map(ai->rmul!(ai,v),blocks(a))
return a
end

# AbstractBlockArray API

BlockArrays.blocks(a::BlockPArray) = a.blocks