Skip to content

Commit 3f19c33

Browse files
authored
Merge pull request #125 from fverdugo/p_sparse_matrix_refactoring
P sparse matrix refactoring
2 parents 25ed3ef + b7bc762 commit 3f19c33

26 files changed

+2435
-400
lines changed

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,34 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
9+
## [0.4.0] - unreleased
10+
11+
## Changed
12+
13+
- Major refactoring in `PSparseMatrix` (and in `PVector` in a lesser extent).
14+
The old code is still available (but deprecated), and can be recovered applying this renaming to your code-base:
15+
- `PSparseMatrix -> OldPSparseMatrix`
16+
- `psparse! -> old_psparse!`
17+
- `pvector! -> old_pvector!`
18+
- `trivial_partition -> old_trivial_partition`
19+
20+
- The default parallel sparse matrix format is now split into 4 blocks corresponding to own/ghost columns/rows.
21+
The previous "monolithic" storage is not implemented anymore for the new version of `PSparseMatrix`, but can be implemented in the new setup if needed.
22+
- `emit` renamed to `multicast`. The former name is still available but deprecated.
23+
24+
## Added
25+
26+
- Efficient re-construction of `PSparseMatrix` and `PVector` objects.
27+
- Functions `assemble` and `consistent` (allocating versions of `assemble!` and `consistent!` with a slightly different
28+
treatment of the ghost rows).
29+
- Function `consistent` for `PSparseMatrix`.
30+
- Functions `repartition` and `repartition!` used to change the data partition of `PSparseMatrix` and `PVector` objects.
31+
- Functions `psystem` and `psystem!` for generating a system matrix and vector at once.
32+
- Function `trivial_partition`.
33+
- Support for sub-assembled matrices in `PSparseMatrix`.
34+
35+
836
## [0.3.4] - 2023-09-06
937

1038
### Added

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PartitionedArrays"
22
uuid = "5a9dfac6-5c52-46f7-8278-5e2210713be9"
33
authors = ["Francesc Verdugo <[email protected]> and contributors"]
4-
version = "0.3.4"
4+
version = "0.4.0"
55

66
[deps]
77
CircularArrays = "7a955b69-7140-5f4e-a0ed-f168c5e2e749"

0 commit comments

Comments
 (0)